Mail Archives: djgpp/1997/02/13/01:15:41
On 12 Feb 1997, Andy Eskilsson wrote:
> Well mine does! it has a directory /bin/ on all drives, containing
> both sh and sh.exe (copies of bash.exe)
Why both sh and sh.exe? Do you mean that `sh' is actually `bash.exe' in
disguise? If so, this might be one of the causes of your problems. Just
put sh.exe there and you should be set.
> I also have a sh and sh.exe neighbour to bash.exe in the djgpp/bin
> dir.
Nuke sh, leave sh.exe alone. And btw, if it is in the same directory
as bash.exe, you can use the `symlink' facility of DJGPP whereby sh.exe
is a 2KB-long file which will actually run bash.exe. Details in the FAQ
(section 22.3).
> Well even after my hard tries, the makefile works best when I change
> the line SHELL=/bin/sh to SHELL=bash in the makefile :-( (I get errors
> like unexpected end of file, it doesn't expand commands and so on)
If the above advice doesn't help, please post the shortest Makefile that
exhibits such problems and the error messages you get when you run Make.
(I would suggest to always post the relevant material such as this when
you report problems, this makes the process of finding the reason a lot
easier.)
The setup described by the README.dos file works for me every time, so
it's something in the way you configured/installed SHELL and/or Make on
your system.
And btw, you *are* sure you run Make 3.75, right? You *did* check that
there's no older make.exe lurking on your PATH somewhere, did you?
- Raw text -