delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/28/10:32:36

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199706281431.AA156848313@typhoon.rose.hp.com>
Subject: Re: DJGPP doesn't work
To: puglisi AT XXXarcetri DOT astro DOT it (Alfio T. Puglisi)
Date: Sat, 28 Jun 1997 7:31:52 PDT
Cc: djgpp AT delorie DOT com
In-Reply-To: <33B3BFB4.120CC8CA@XXXarcetri.astro.it>; from "Alfio T. Puglisi" at Jun 27, 97 3:27 pm

> The cpp seems to be taken too directly from unix: it searches
> the include files in /usr/local and such
Did you do a 

SET DJGPP=C:\DJGPP\DJGPP.ENV

> I tried to edit
> the DJGPP.ENV file, but its syntax is terrible.
Bad idea.  Go back to your original file.  Re-unzip if needed.

> gcc -o myprog.exe myprog.c -Ic:\djgpp\include
Presumably you are not picking up the link script (-Tdjgpp.djl on the
link line).  This too is fixed by setting DJGPP properly.

Andrew

- Raw text -


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