This is the mail archive of the
cygwin
mailing list for the Cygwin project.
mainCRTstartup warning in ld
- From: "Adam MiedziÅski" <miedziu3 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 25 Mar 2006 05:16:12 +0100
- Subject: mainCRTstartup warning in ld
can sb know why (newest download cygwin) after compiling in "as" such a code:
.global _start
_start:
movl $1,%eax
movl $0,%ebx
int $0x80
when i link with "ld" it shows warning about mainCRTstartup . .and
when i try to run .. it crashes before code executed!
and why such a simple program needs mainCRTstartup?