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]

crosstool: building demo-x86_64 on a x86_64 host


Hi

I tried to build demo-x86_64.sh but it failed with this:

configure:7172: checking size of long double
configure:7491: x86_64-unknown-linux-gnu-gcc  -o conftest -O    conftest.c  >&5
/home/sashan/code/crosstool-0.43/build/x86_64-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/gcc-core-prefix/lib/gcc-lib/x86_64-unknown-linux-gnu/3.3.6/../../../../x86_64-unknown-linux-gnu/bin/ld:
crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:7494: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */

However doing a

linux32 ./demo-x86_64.sh

succeeded.

Output of uname -a on the host machine:
Linux rogue 2.6.30.8-64.fc11.x86_64 #1 SMP Fri Sep 25 04:43:32 EDT
2009 x86_64 x86_64 x86_64 GNU/Linux

Is it expected to fail if the host and target are the same?

--
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]