This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: make --win32 incorrectly handles PATH
- To: Scott Carter <scarter at emware dot com>
- Subject: Re: make --win32 incorrectly handles PATH
- From: "Lassi A. Tuura" <lassi dot tuura at cern dot ch>
- Date: Fri, 21 Jul 2000 08:11:43 +0200
- CC: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Organization: Northeastern University, Boston, USA
- References: <50028CAE26D1D3118C7F00A0CC50D6252D1E4C@EMWARESERVER>
You could try something like
export PATH := $(PATH):$(EXTRA_PATH)
in your makefile.
I would expect that to do the right thing in unixy mode -- not having
the extra space and exporting the changed value to a subprocesses.
Whether that will actually make it to %PATH% under Win32 I have no idea,
and unfortunately can't test right now...
Using the above in a recursive make may cause your $PATH to get awfully
long. It could make a difference if you have a long path of unreachable
network shares, or because you might overflow the environment space.
Hope this helps,
//lat
--
I think we're in trouble. --Han Solo
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com