[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling with Cygnus's Cygwin
From: |
Duane Ellis |
Subject: |
Re: Compiling with Cygnus's Cygwin |
Date: |
Mon, 28 Feb 2000 10:21:46 -0500 |
I've used CYGWIN for a *LARGE* number of Unix based tools.
it's quite impressive. (Though not with freetype)
The real snag though is this:
a) Your DOS PATH -vrs- the UNIX path.
When using the 'cygwin' package, you must be *VERY* careful
of your DOS path.
For instance, many 'configure' scripts make use of 'grep'
or sed, or what ever.
The configure scripts assume a real *UNIX* version of the commands
not the 'grep' that comes with some DOS/WINDOWS programers tool kit.
For instance, when you type 'date' what runs? The DOS command date
or the Unix 'date' command?
b) autoexec.bat: SET MAKE_MODE=UNIX
In this mode, 'gnumake' (which comes with cygwin) will
act like Unix make - and work.
Without this, well - my Unix scripts don't work.
c) Some configure scripts try to execute from the /bin/TOOLNAME
path, but if that does not exist... well it chokes.
Two solutions:
a) Use cygwin 'mount' command.
b) on your C drive, (not D) create a /bin directory, and copy the
stuff out of cygwin into the "/bin" directory.