This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: Crossed native compiler


1.10.2014, 16:22, BERTRAND JoÃl kirjoitti:

In config.log, I have :

configure:3000: /home/bertrand/cross/build/./prev-gcc/xgcc -B/home/bertrand/cross/build/./prev-gcc/ -B/home/bertrand/q7/arm-cortexa9_neon-linux-gnueabihf/bin/ --sysroot=/home/bertrand/x-tools/arm-cortexa9_neon-linux-gnueabihf/arm-cortexa9_neon-linux-gnueabihf/sysroot -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5
/lib/ld-linux-armhf.so.3: No such file or directory

So what you have in the expected place :

/home/bertrand/x-tools/arm-cortexa9_neon-linux-gnueabihf/arm-cortexa9_neon-linux-gnueabihf/sysroot/lib

for the 'ld-linux-armhf.so.3' ?

I have checked xgcc format and xgcc is built for arm, not for x86 :

schroedinger:[~/cross/build/intl] > file /home/bertrand/cross/build/./prev-gcc/xgcc /home/bertrand/cross/build/./prev-gcc/xgcc: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped

That you managed to run an ARM executable (xgcc) on a x86_64 system and it then giving a sane error message, is really, really weird! The '--enable-bootstrap' maybe could have caused this insanity being done but then the error should have been related to not being capable to run ARM executables on a
x86_64 system...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]