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: XScale gcc



Hi Kyle,

>I am building the xscale gnu tools using NetBSD 1.5.2 as the host.  I have
built binutils, >and tried building it and get the error:
>> I get an error:
>> checking whether the C compiler
>> (/temp/gcc/gcc/xgcc -B/temp/gcc/gcc/ -B/usr/loca
>> l/xscale/xscale-netbsd-elf/bin/
-B/usr/local/xscale/xscale-netbsd-elf/lib/ -
>> isys
>> tem /usr/local/xscale/xscale-netbsd-elf/include -g -O2 ) works... no
>> configure: error: installation or configuration problem: C compiler
cannot
>> create executables.
>> gmake: *** [configure-target-libiberty] Error 1
>> bash-2.05#

Configuring as xscale-netbsd-elf will set the vendor field to netbsd, 
which is not what you want.  You either want xscale-netbsdelf (which 
probably isn't recognised) or more realistically arm-netbsdelf (but I 
doubt even that is supported in release code yet -- I've just checked, it 
hasn't).

For NetBSD/elf you would be best to start from the compiler in the NetBSD 
toolchain for ELF code; several of the changes there haven't propagated 
back to the main sources yet.

Finally, you force XScale compilations by using the configure line

--target=arm-netbsdelf --with-cpu=xscale




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