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 sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Delivered-To: fixup-cygwin AT cygwin DOT com@fixme From: "Paul G." Organization: New Dawn Productions To: cygwin AT cygwin DOT com Date: Thu, 30 Aug 2001 17:32:47 -0800 MIME-Version: 1.0 Subject: Re: Porting from mingw32 to cygwin Reply-to: Paul Garceau Message-ID: <3B8E78BF.19366.E6FC37@localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v4.0, beta 40) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body On 30 Aug 2001 at 17:18, the Illustrious Thomas Gahr wrote: > I just compiled a library called "allegro" with cygwin. But as it is > written for mingw I had to use the option -mno-cygwin , else it didn't > compilem because the compiler missed "direct.h", which comes with mingw. > > After compiling it, I wanted to use it in a programm of mine that > doesn't need the option -mno-cygwin . Well, it was pretty logical that I > would have to use the -mno-cygwin -option again. But when I used it, he > didn't find some libs that I installed in cygwin and said "random(....) > undeclared..." Allegro is a DOS based graphics library (read MS-DOS). It was ported to Mingw from DJGPP without using Cygwin (no link references to cygwin.dll), thus the reason behind why you had to use the -mno-cygwin switch in order to get it to build properly under Cygwin. Paul G. -- 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/