This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi All, I am trying to cross compile gcc-3.4.2 including the stdc++ library to an arm7 target, and I have some problems compiling the library. The problem is that my target does not support shared libraries, and not even libraries containing a _GLOBAL_OFFSET_TABLE_ . I have tried configuring gcc with --without-pic but it doesn't help, and I have tried setting CFLAGS='-fPIC -msingle-pic-base' but that doesn't change anyting either. The latest thing I have tried is configuring gcc with --disable-shared, but then I get the following error when installing the library: arm-linux-uclibc-ar cru libstdc++_pic.a .libs/*.o ../libsupc++/*.o arm-linux-uclibc-ar: .libs/*.o: No such file or directory make[4]: *** [install-exec-local] Error 1 make[4]: Leaving directory `/home/dha/work/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3/src' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/dha/work/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3/src' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/dha/work/buildroot/toolchain_build_arm/gcc-3.4.2-final/arm-linux-uclibc/libstdc++-v3' make[1]: *** [install-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/home/dha/work/buildroot/toolchain_build_arm/gcc-3.4.2-final' make: *** [/home/dha/work/buildroot/toolchain_build_arm/gcc-3.4.2-final/.installed] Error 2 Any help/suggestions are greatly appreciated\ /David
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |