bug-gnustep
[Top][All Lists]
Advanced

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

Re: base/Source/GNUmakefile patch


From: Adam Fedor
Subject: Re: base/Source/GNUmakefile patch
Date: Tue, 16 Oct 2001 21:44:56 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.4) Gecko/20010915

Stephen Brandon wrote:

This patch is active only for MinGW32 targets.

Whilst using absolute Windows paths (eg C:/) is the easiest
way to configure and install for MinGW32, you don't really
want hard coded drive letters in the binary. This patch
strips off initial drive letters before GNUSTEP_SYSTEM_ROOT,
GNUSTEP_LOCAL_ROOT and GNUSTEP_NETWORK_ROOT are sent as "-D"
defines to the compiler to be hard coded.

There is a corresponding patch (see next e-mail) to NSUser.m
which dynamically prepends the "system drive" drive letter
to these paths at runtime if they are required.

Note that if there are environment variables set for
GNUSTEP_SYSTEM_ROOT etc at runtime, these hard coded paths
and prepended drive letter are NOT consulted.


Added.



--
Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
fedor@doc.com  http://www.doc.com     | something hard enough, and it
fedor@gnu.org  http://www.gnustep.org | will fall over.




reply via email to

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