linux - cygwin32 crosscompiler

Martin.Kahlert@mchp.siemens.de Martin.Kahlert@mchp.siemens.de
Mon Nov 3 06:49:00 GMT 1997


Hi, all
I tried to build a linux-cygwin32 cross compiler.
With egcs-2.90.14 971023 everything worked fine (except c++)

With the egcs-2.90.15 971031 I can cross compile fine
(no linker error...),
but when I want to run the program I get a messagebox:
't.exe is not a valid executable for Windows' 
(roughly translated from my german WinNT-version)

With my old egcs-2.90.14 971023 this error occurred only in c++.
(C and Fortran were fine)

Could anybody give me a hint, please?

PS: I did install binutils-2.8.1 and egcs via 
./configure --target=i686-pc-cygwin32;make;make install

gcc_win -v:
reading specs from 
 /usr/local/lib/gcc-lib/i686-pc-cygwin32/egcs-2.90.15/specs
gcc version egcs-2.90.15 971031 (gcc2-970802 experimental)

Thanks in advance,
Martin

email: Martin.Kahlert@mchp.siemens.de



More information about the Gcc-bugs mailing list