This is the mail archive of the crossgcc@sources.redhat.com 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]

Re: disable 'create executables' autoconf tests for cross compiler


Matthew J Fletcher wrote:
when cross compiling to i486-elf using crosstool (latest) i get the folloing error.

checking whether the C compiler ( /home/mfletcher/nucleus-builder/build-gcc/gcc/xgcc -B/home/mfletcher/nucleus-builder/build-gcc/gcc/ -B/home/scx/gcc334nucleus/i386-elf/bin/ -B/home/scx/gcc334nucleus/i386-elf/lib/ -isystem /home/scx/gcc334nucleus/i386-elf/include -O2 -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [configure-target-libiberty] Error 1



so my question is how do i disable this test, as normaly cross compilers cannot generate executables that will run on the host.

Is your target really i486-elf, i.e. no operating system? Note that crosstool does not target i486-elf. It targets i486-linux. You probably want to build a gcc/newlib toolchain. - Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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