bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make/GNUmakefile.in patch, and new utility


From: Stephen Brandon
Subject: make/GNUmakefile.in patch, and new utility
Date: Tue, 16 Oct 2001 19:53:05 +0100

This e-mail contains:

- a patch to make/GNUmakefile.in
- a new file make/cygpath.sh
- a patch to make/GNUstep.sh.in

The patch to make/GNUmakefile.in installs a new mini-utility
called "cygpath.sh", used for MinGW32 targets.

cygpath.sh emulates the cygpath utility provided with CygWin
on Windows, and is included here in case the cygpath
functionality is removed from a future version of CygWin.

cygpath (whether provided by CygWin or cygpath.sh) converts
to and from unix paths and the funny mounting system used by
cygwin to get around Windows drive letters. This proves to
be a pain when compiling GNUstep and I have found the best
way to compile things is to specify absolute paths with
drive letters, since they are unambiguous. Unfortunately the
PATH environment variable gets confused if you use "C:/foo"
paths since the ":" is the path separator as well. So
cygpath is used to mangle the absolute paths to put into
$PATH.

The patch to make/GNUstep.sh.in uses cygpath or the cygpath
utility to mangle the absolute Windows paths into the PATH
environment variable, and also uses a Windows-aware method
of getting a user's home directory: instead of "~" it uses
$HOMEDRIVE/$HOMEPATH

Stephen Brandon
stephen@brandonitconsulting.co.uk

Attachment: make.GNUmakefile.in.diff
Description: Text document

Attachment: cygpath.sh
Description: Text document

Attachment: make.GNUstep.sh.in.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]