Mail Archives: djgpp/1998/03/23/12:25:44
On Mon, 23 Mar 1998, Andris Pavenis wrote:
> 1) edit configure and replace CONFIG_SHELL=/bin/sh to /djgpp/bin/sh.exe
> I'm not very like this way.
The correct way (IMHO) is to set CONFIG_SHELL=bash in the environment
before running the configure script. I usually arrange for the
DJGPP-specific configure.bat to do that before it calls "sh ./configure".
This way, things are set up for everybody in a transparent way.
> So I prefer one suggested by Robert (2)
> 2) have sh.exe in /bin
IMHO, this is a bad idea. It means that you need to have /bin/sh.exe on
every drive of your system, or else things will break some day (e.g., if
the script chdirs to another drive). It also means that you request
people who build the package to do that also.
DJGPP has a lot of magic designed specifically to alleviate the pains of
working on MS platforms. Having a /bin directory full of programs on
every drive is one of these annoying things. I suggest that instead of
going back to these annoying solutions we add features along these lines,
where the current features are not enough. Let's make it *easier* to
build Unix programs, not *harder*.
- Raw text -