problem with cross-gcc 2.95.2

Egor Duda deo@logos-m.ru
Wed Jan 12 06:11:00 GMT 2000


Hi!

  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>
main()
{ 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.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
test_exe.tar.gz
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_exe.tar.gz
Type: application/x-gzip
Size: 914 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20000112/bc87b44e/attachment.bin>


More information about the Cygwin mailing list