delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4424D28C.7B2C459A@dessent.net> |
Date: | Fri, 24 Mar 2006 21:18:04 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: mainCRTstartup warning in ld |
References: | <3e71ff790603242016n784b8039n AT mail DOT gmail DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Adam Miedzi?ski wrote: > when i link with "ld" it shows warning about mainCRTstartup Because the C runtime startup files expect that your code has a main() function. > when i try to run .. it crashes before code executed! You appear to be trying to do *nix type syscalls. That won't work. Windows does not use int 80 to call into the kernel. If you are trying to follow some kind of assembly language tutorial for linux or BSD then you'll need to actually run this on a linux or BSD system. Cygwin provides compatibility on an API level only, not at the level of syscalls. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |