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: crossgcc under cygwin




-----Original Message-----
From: Vitaly Buka [mailto:bvs@hotbox.ru]
Sent: Wednesday, May 08, 2002 5:15 PM
To: crossgcc@sources.redhat.com
Subject: crossgcc under cygwin


Hi,

I tried to build (binutils+gcc) on cygwin with arm-trumb-elf as
target (I also tried other targets. m68k-coff for example). Every time
I had the same problem with making gcc:

>> I would be more intrested in the configure option you used while
configuring GCC

checking whether the C compiler (/arm/build/gcc/gcc/xgcc
-B/arm/build/gcc/gcc/ -
B/arm/arm-thumb-elf/bin/ -B/arm/arm-thumb-elf/lib/ -isystem
/arm/arm-thumb-elf/i
nclude -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
creat
e executables.
make: *** [configure-target-libiberty] Error 1

>> I would suggest you to use the option --without-headers
--enable-languages=c(if you don't need c++ support)
>>   while configuring GCC. In this way you build a bootstrap gcc. Now after
you installed gcc, Newlib, configure >>   the gcc as :
../gcc-2.95.3/configure --target=$TARGET --prefix=$PREFIX

Please help if you know solution.

ps. gcc-3.0.4
    binutils-2.12

-- 
Best regards,
 Vitaly                          mailto:bvs@hotbox.ru


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

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