bug-gnustep
[Top][All Lists]
Advanced

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

base/Source/GNUmakefile patch


From: Stephen Brandon
Subject: base/Source/GNUmakefile patch
Date: Tue, 16 Oct 2001 19:20:56 +0100

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.

Stephen Brandon
stephen@brandonitconsulting.co.uk

Attachment: base.Source.GNUmakefile.diff
Description: Text document


reply via email to

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