Akim Demaille writes:
Currently to find out if we are under one of these environments
configure runs a compilation, typically to see if __CYGWIN__ is
defined etc.
The reason you need to detect these can probably be generalized to either
"X doesn't work" or "X must be treated differently". In
Currently to find out if we are under one of these environments
configure runs a compilation, typically to see if __CYGWIN__ is
defined etc.
Can't we do this kind of checks *without* compiling? IIUC correctly,
for Autoconf to be really DJGPP aware, we'd need to change things
which do not
--- Akim Demaille [EMAIL PROTECTED] wrote:
Currently to find out if we are under one of these environments
configure runs a compilation, typically to see if __CYGWIN__ is
defined etc.
Can't we do this kind of checks *without* compiling? IIUC correctly,
for Autoconf to be really DJGPP
On Wed, 24 May 2000, Earnie Boyd wrote:
Cygwin comes with uname which reports:
CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown
For MinGW I have a uname hack which reports:
MINGW_WinNT DU147636 3 0 i686 unknown
Sounds a bit dangerous to me: what if someone uses
On May 24, 2000, Akim Demaille [EMAIL PROTECTED] wrote:
Anybody would have solutions to provide?
How about something like (totally untested):
if (cd c:\\ cd .. test `pwd` = "C:\\") 2 /dev/null
--
Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a
--- Eli Zaretskii [EMAIL PROTECTED] wrote:
On Wed, 24 May 2000, Earnie Boyd wrote:
Cygwin comes with uname which reports:
CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown
For MinGW I have a uname hack which reports:
MINGW_WinNT DU147636 3 0 i686 unknown
On May 24, 2000, Earnie Boyd [EMAIL PROTECTED] wrote:
--- Alexandre Oliva [EMAIL PROTECTED] wrote:
On May 24, 2000, Akim Demaille [EMAIL PROTECTED] wrote:
Anybody would have solutions to provide?
How about something like (totally untested):
if (cd c:\\ cd .. test `pwd` = "C:\\") 2
On 24 May 2000, Alexandre Oliva wrote:
How about something like (totally untested):
if (cd c:\\ cd .. test `pwd` = "C:\\") 2 /dev/null
This should work with any DOS/Windows environment, it's not specific to
any of the three (DJGPP, Mingw, or Cygwin). So it cannot reliably
distinguish
BTW, since your supporting MinGW, the IFS value when searching the PATH needs
to be ';' instead of ':'.
Cheers,
=
---
Earnie Boyd: mailto:[EMAIL PROTECTED]
__Cygwin: POSIX on Windows__
Cygwin Newbies: http://www.freeyellow.com/members5/gw32/index.html
__Minimalist
On Wed, 24 May 2000, Earnie Boyd wrote:
Cygwin comes with uname which reports:
CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown
For MinGW I have a uname hack which reports:
MINGW_WinNT DU147636 3 0 i686 unknown
Sounds a bit dangerous to me: what if
--- Eli Zaretskii [EMAIL PROTECTED] wrote:
On Wed, 24 May 2000, Earnie Boyd wrote:
Cygwin comes with uname which reports:
CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown
For MinGW I have a uname hack which reports:
MINGW_WinNT DU147636 3 0 i686
Alexandre Oliva [EMAIL PROTECTED]:
if (cd c:\\ cd .. test `pwd` = "C:\\") 2 /dev/null
there doesn't have to be a c:. I've seen a system where the
only disk is a hard drive named a:.
--
12 matches
Mail list logo