delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/30/20:33:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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." <pgarceau AT qwest DOT net>
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 <pgarceau AT qwest DOT net>
Message-ID: <3B8E78BF.19366.E6FC37@localhost>
In-reply-to: <m15cTcR-007oePC@smtp.web.de>
X-mailer: Pegasus Mail for Win32 (v4.0, beta 40)


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019