www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/20/10:23:04

Date: Thu, 20 Mar 1997 18:06:24 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Terry Page <vk2jtp AT wr DOT com DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: TNOS - Error
In-Reply-To: <332f539b.75956412@news.wr.com.au>
Message-ID: <Pine.SUN.3.91.970320180544.24420D-100000@is>
MIME-Version: 1.0

On Wed, 19 Mar 1997, Terry Page wrote:

> The msg I get is :
> 
> Usage: echo [-o file] [-a file] [-s] [-n] args.....
> Make.exe: *** [depend] Error 1
> 
> Could someone point me in the right direction what to look for ?

Unix/Linux Makefiles usually assume you have tools which are standard
on Unix, but optional with DJGPP.  For example, the error message that
you get is that the DJGPP `echo' is not entirely compatible with Unix
`echo'. 

The easiest way to get Unix Makefiles work is to install all of the
tools that might be required.  So I suggest you download from the
usual DJGPP archives and install the following packages (all of them
are in v2gnu directory):

	- fil313b.zip (GNU Fileutils)
	- txt122b.zip (GNU Textutils)
	- shl112b.zip (GNU Sh-utils)
	- grep20b.zip (GNU Grep)
	- find41b.zip (GNU Findutils)
	- gwk302b.zip (GNU Awk)
	- bsh1147b.zip (GNU Bash)
	- mak375b.zip (GNU Make; don't use versions before 3.75)
	- dif271b.zip (GNU Diffutils)

some programs also need Flex and/or Bison (I doubt if your ham radio
program is one of them):

	- flx252b.zip
	- bsn125b.zip

(Yes, this is a lot to install, but I think it's a small fee for
having most of Unix Makefiles magically work for you.)

After installing all of these, cd to your djgpp/bin subdirectory and
type this command:

	ln -s bash.exe sh.exe

Now try building your program.  If you have any further problems, post
here.  Most of Makefiles should work unchanged.

- Raw text -


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