delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/02/12:10:36

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Make utility
From: alane AT wozzle DOT linet DOT org (J. Alan Eldridge)
Date: Sat, 02 Jan 93 08:48:42 EST
Organization: Disorganization

src4src!mcdhup!rutgers!edfvb1.ctis.af.mil!CVR_DOLAN (Mr. Jim Dolan) writes:

> Hello All,
> 
>     I am just getting into the GNU C compiler to do some work with DesckView/
> on the PC.  I have downloaded the entire djgpp directory and installed it ont
> my 386 Dos computer.  My problem is that there is no make facility.  I tried
> using the NMAKE.EXE that comes with MS C, but alas it did't like it.  In the
> MAKE.INI file in the djgpp\bin directory I found a reference to NDMAKE.  Is
> this the one to use?  Is there a GNU Make tool?  Where would I go about findi
> one or the other?

Yes there is a GNU make, but I think you are a bit confused when you say
that nmake doesn't "like" GCC. If you write default rules for how to convert
a .c file to a .o file, and how to run the linker, then things should
work fine with nmake. The one exception (and this may be what you are
having difficulty with) is that DOS, in its infinite stupidity, allows
only 128 characters on a command line (due to there being a 128 byte
buffer in the PSP). This can screw you. In this case, use a "response
file", for the compiler, and call gcc with the @filename syntax on the
command line, rather than passing everything directly.

Hope this helps a bit. Good luck with DJGPP.


alane AT wozzle DOT linet DOT org (J. Alan Eldridge)
Fido: The University of Walamaloo 1:272/38.473

- Raw text -


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