Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Wed, 12 Jan 2000 17:08:42 +0300 From: Egor Duda X-Mailer: The Bat! (v1.029) S/N A0F2A05A Reply-To: Egor Duda Organization: DEO Message-ID: <9714.000112@logos-m.ru> To: cygwin AT sourceware DOT cygnus DOT com Subject: problem with cross-gcc 2.95.2 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------BDBE13E15EBB09" ------------BDBE13E15EBB09 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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 AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 ------------BDBE13E15EBB09 Content-Type: application/x-gzip; name="test_exe.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test_exe.tar.gz" H4sIAJuKfDgAA+1XTUgbQRR+SZSmVm0qOXgodGxN20MJu1ETCy1dwbQWlApWKAVJ1+zGpOZHNptW wdKAHhqsEHr2Zg89euhBehIqeFHosUIPUtoSwYOHUjxItm9mN/60KFpqUJwP3rxv3rx5M2/Ynd3X LytedViFo4QoCIGWFgKE+AR/E9VoEalm8AuCQEhAaAoIgYDf58NhnyA2AxGOdFcWMmld1ggBJaPI +/m1pxJyLEl606qWLse+yoSux3lwoK5AMQyAWcsuHWBuFqX20odaeH92qWHW1rnU8DAaS5MhLTWg yQkSlpPJlE76VaJlkgTPrv1BD0mkFNVbU1PVaMXoDgJ02irgzcvR1lLcFThvP2ezt7JNUbGjuCwh 1u5cpp0O2yw3M+B2x2EqO/Oljcs0uHYmIUkQtR0g2f8Mr64O66idpdxKue4AAXjiVWRdBitt2lB/ 524/CWDO259mj+UMbfZ4cbLUL2YGZDlLVryqv1ylw+bDcTLRm/s+tlY/dhuIBKDbFpdfFCMTwaJn bt0wIrkg69TcwTeJdpYTxbH5n9EOlwSFK/gA5db6PmIM0ddkxnEW+tBKXdqpyyPWcTGv8MiAro94 FG8qow9ldG8igy8A5H6Z608EnQuVFYIE7zDcQqUT2aqDsmpkwGzZLTaOzMXYDWQbFyRkAh2to8yN zEkocyGrQDZ9XaDdRmyrsTsZ3JwGZqnHtsCmX0S2whhB9pmxdmSfkGE6T6EwjwtOj7JpzXQttkIr MsLYLWpjoxK2Myg068ln1rlgfhimu1BrGAY9HupauA/mCeaZj7tnog/9qpnfjyL122B+PYV6dJzo K7BzNDzjeGPl84bntaVHLT1sad3SeUtnLf3K0lOmNuhtT+98U3NwcJw+4GWwhY42/ARgP7rD9ght UxLsibc4NoOyiPIF5RvKOsomirNt28/d9u9zvtrCcjyeClN+1a7E46Gwpguh0N1uURxStRD+cIZV /P25xsZQ6DD6qvaIpmJpcwZCIfrzTuev2hNbseocQ1osqUcov+nQ1NLAZds9Ve9KKZm42iEnlbhK 9yHtL/h9ex5Lil5cHdzYH1S1pBpv8jHDMUZq8MjLv4PXf2j2iS04LPr9Aq//yoHjUv9NZnfVf4D1 X6A89R/w+u+P+o/GO3xGHCcRvP7j9V95nzgODo7jAl7/ne76j4ODg4ODg4ODg4Pj9OA3uQhxuQAo AAA= ------------BDBE13E15EBB09 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------------BDBE13E15EBB09--