problem with cross-gcc 2.95.2

Egor Duda
Wed Jan 12 06:11:00 GMT 2000


  I've compiled gcc-2.95.2 with binutils-19991221 with --host=i586-pc-linux-gnu
--target=i586-pc-cygwin and encountered a problem. i586-pc-cygwin-ld
seems to generate incorrect executable. i've compiled
#include <stdio.h>
{ printf("123"); }

on both native cygwin gcc and cross gcc. File, built with cross don't start.
Running objdump myself make me suspect that "bad.exe" had incorrect
"entry 1" in the data directory. I'm attaching both executables. Would
somebody take a look at them and explain me what the problem is?

Egor.   ICQ 5165414 FidoNet 2:5020/496.19
Want to unsubscribe from this list?
Send a message to

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_exe.tar.gz
Type: application/x-gzip
Size: 914 bytes
Desc: not available
URL: <>

More information about the Cygwin mailing list