delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/17/01:11:00

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I need help with Makefiles in DJGPP v2.01
Date: Thu, 16 Jan 1997 19:17:29 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 52
Message-ID: <32DEEF49.52A4@cs.com>
References: <32de99b3 DOT 4811402 AT news DOT praxis DOT net>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp106.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

GENOCiDE wrote:
> 
> I got this makefile for the IJG JPEG source from Tom Lane, the author.
> It seems as thought this makefile is for DJGPP v2.0 or something, and
> it won't work under v2.01....if you find the error or errors in this
> makefile, please respond in comp.os.msdos.djgpp thank you!

There are several potential problems in the makefile, but we can't help
you without some specific indication of what went wrong.  Simply saying,
"It doesn't work," isn't sufficient.  Try to capture the output of make
by using the following command line:

   redir -o err -eo make -f makefile.dj2

Then post the 'err' file along with the makefile.

However, I'm going to make some general recommendations in the hopes
that one of them will prove to work.

> # This makefile is for DJGPP v2.0 (Delorie's GNU C port) on MS-DOS.
> # Tested on jpeg-6a by Frank J. Donahoe.
> # Read installation instructions before saying "make -f makefile.dj2" !!

Well, you did read the instructions, right?  You typed "make -f
makefile.dj2" instead of just "make", right?

> # miscellaneous OS-dependent stuff
> # If install.exe is not found, change to copy /Y
> INSTALL=install

Do you have 'install.exe'?  If not, change this.  'install' isn't part
of the standard DJGPP distribution.  However, 'ginstall.exe' is
distributed with the GNU Fileutils port in 'v2gnu/fil313b.zip'.  If you
installed that package, you could simply change 'install' to 'ginstall'.

> # File deletion command.  The default is "rm -f."  If "rm.exe" is not found
> # uncomment the following:
> # RM= del

'rm.exe' is needed for the 'clean' target, and is also found in the GNU
Fileutils.  If you don't have it, do what it says here.

Everything else looks fine, without a specific error message to point me
to something.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I      |   mailto:fighteer AT cs DOT com   |
| God's final message to His Creation: | http://www.cs.com/fighteer |
| "We apologize for the inconvenience."| Fight against proprietary  |
|                      - Douglas Adams | software - support the FSF!|
---------------------------------------------------------------------

- Raw text -


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