Mail Archives: djgpp/1997/03/20/10:23:04
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 -