Multi-architecture installation under Cygwin

João Cadamuro Junior cadamuro@lit.cpdtt.cefetpr.br
Tue Apr 10 07:20:00 GMT 2001


Hi,

Some days ago we have a nice discussion about multi-architecture
installation. I try to use it under Cygwin 1.1.8, but doesn't work.

My procedure was install Cygwin 1.1.8 and built and install a cross
compiler for powerpc-eabi in the default place (configure options
"--target=powerpc-eabi --with-newlib", and nothing more...)

After all I try to call gcc in the following way:

gcc -b powerpc-eabi -g -mads -mcpu=860 --verbose -o teste.elf teste.c

But the gcc replies:

gcc version 2.95.3-2 (cygwin special)
 cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -D_X86_=1 -D_X86_=1
-Asystem(winnt) -g -Acpu(i386) -Amachine(i386) -Di386 -D__i386
-D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro
-D__pentiumpro__ -D__stdcall=__attribute__((__stdcall__))
-D__cdecl=__attribute__((__cdecl__))
-D_stdcall=__attribute__((__stdcall__))
-D_cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x))
-D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -isystem
/usr/local/include -idirafter /usr/include -idirafter
/usr/include/w32api teste.c
/cygdrive/c/DOCUME~1/cada/LOCALS~1/Temp/cczlqcWh.i
gcc: installation problem, cannot exec `cpp0': No such file or directory



Maybe gcc for cygwin is different than other gcc's.

If I use:

powerpc-eabi-gcc -g -mads -mcpu=860 -o teste.elf teste.c

everything is OK.


Someone has tested multi-architecture installation under Cygwin??? Any
idea about the problem???


Thanks in advance,

João Cadamuro Junior
LIT / CPDTT / CEFET-PR



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



More information about the crossgcc mailing list