This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Yann, All, I am glad to report have successful build the gcc4.5.0 cross compiler for arm-linux in my Ubuntu box, compiled c and c++ programs and all run fine in the target machine: $ arm-none-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=arm-none-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/opt/arm-none-linux-gnueabi/libexec/gcc/arm-none-linux-gnueabi/4.5.0/lto-wrapper Target: arm-none-linux-gnueabi Configured with: /usr/local/src/gccCross/targets/src/gcc-4.5.0/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-none-linux-gnueabi --prefix=/opt/arm-none-linux-gnueabi --with-sysroot=/opt/arm-none-linux-gnueabi/arm-none-linux-gnueabi//sys-root --enable-languages=c,c++ --disable-multilib --with-arch=armv5te --with-cpu=arm926ej-s --with-pkgversion=crosstool-NG-1.8.2 --enable-__cxa_atexit --disable-libmudflap --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-gmp=/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/static --with-mpfr=/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/static --with-ppl=/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/static --with-cloog=/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/static --with-mpc=/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/static --with-libelf=/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/static --enable-threads=posix --enable-target-optspace --disable-libstdcxx-pch --with-local-prefix=/opt/arm-none-linux-gnueabi/arm-none-linux-gnueabi//sys-root --disable-nls --enable-symvers=gnu --enable-c99 --enable-long-long Thread model: posix gcc version 4.5.0 (crosstool-NG-1.8.2) However, I have a different sysroot location in my arm box so at the moment I need to setup LDFLAGS '-Wl,-rpath=' and '-Wl,--dynamic-linker='. Is it possible for crosstool-NG to make use of '--with-build-sysroot' together with '--with-sysroot' for building the cross compiler so that a different sysroot in the target machine can be defined? Regards, Samson -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |