Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C0DD963.A1021EB3@syntrex.com> Date: Wed, 05 Dec 2001 09:22:59 +0100 From: Pavel Tsekov X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: CaetSith7 AT aol DOT com CC: cygwin AT cygwin DOT com Subject: Re: -mno-cygwin and SDL References: <26 DOT 1f732de1 DOT 293f1a6e AT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CaetSith7 AT aol DOT com wrote: > > Hi, I downloaded and compiled SDL-1.2.3 from source in cygwin, and suprisingly I got it to work. Then I tried to set -mno-cygwin so that the app would work outside of Cygwin, but I get: > > $ make win > gcc test1.C -mno-cygwin -I /usr/include -lglut32 -lglu32 -lopengl32 -lSDL -o exec/test1.exe The line above should be changed like this: gcc test1.C -mno-cygwin -I /usr/include -o exec/test1.exe -lglut32 -lglu32 -lopengl32 -lSDL Read the FAQ on cygwin.com it contains a topic on WinMain AT 16. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/