On Wednesday 09 March 2005 11:03, Andrushka wrote:
I'm trying to port by self libstdc++. Please say me what is necessary steps compleat to build libstdc++.a ?
I'm explored next:
- Download stdc++ from GNU archives.
- Modify config.sub (add drops target)
- Modify configure add *-*-drops*) os_include_dir="os/generic" ;;
- run ./configure --target=drops --host=i486-pc-linux
- run make make all-target-libiberty all-target-libstdc++-v3
Please! Write in steps what are you doing to succesful build libstdc++ for L4Env!!! What changes and additions you made to raw libstdc++ sources? Maybe there are any guide ?
Porting the libstdc++ to L4env is a bit complicated. To determine all additions we made you can try
cd l4/pkg/libstdc++/contrib/libstdc++-v3 cvs -q diff -r1.1.1.1 -rHEAD
(use the libstdc++ package from our remote cvs)
libstdc++-v3 should work with gcc-3.2 and gcc-3.3. libstdc++-6 was the first try to get libstdc++ work with gcc-3.4, but it is currently broken.
Have a look at drops-gcc, it must be able to build valid L4env binaries when passing no further parameters, (e.g. drops-gcc main.c _must_ work).
Frank