Thanks for you "extremely" prompt response.
I actually tried this :-(
In my make system I have the below line to include the Visual Studio 7
"cl.exe" ... from my understanding it is equivalent to what you sent me:
override PATH :=
$(DevEnvDir);$(MSVCDir)\BIN;$(VCINSTALLDIR)\Common7\Tools;$(VCINSTALLDIR)\Common7\Tools\bin\prerelease;$(VCINSTALLDIR)\Common7\Tools\bin;$(FrameworkSDKDir)\bin;$(FrameworkDir)\$(FrameworkVersion);$(PATH);
override INCLUDE :=
$(MSVCDir)\ATLMFC\INCLUDE;$(MSVCDir)\INCLUDE;$(MSVCDir)\PlatformSDK\include\prerelease;$(MSVCDir)\PlatformSDK\include;$(FrameworkSDKDir)\include;$(INCLUDE)
override LIB :=
$(MSVCDir)\ATLMFC\LIB;$(MSVCDir)\LIB;$(MSVCDir)\PlatformSDK\lib\prerelease;$(MSVCDir)\PlatformSDK\lib;$(FrameworkSDKDir)\lib;$(LIB)
However when i execute my build line (which is basically the below):
all:
echo $(PATH)
cl /Help
I see:
echo C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN;C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools;C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\bin\prerelease;C:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\Tools\bin;C:\Program Files\Microsoft Visual
Studio .NET 2003\SDK\v1.1\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;;
C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN;C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools;C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\bin\prerelease;C:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\Tools\bin;C:\Program Files\Microsoft Visual
Studio .NET
2003\SDK\v1.1\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;;
cl /Help
'cl' is not recognized as an internal or external command,
When I look at the parts of my path individually i can see the required
executables in the system file browser.
Cheers and thanks again,
Jim
PATTON, BILLY (SBCSI) wrote:
PATH := my_path:$(PATH)
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
Sent: Monday, April 17, 2006 1:07 PM
To: [email protected]
Subject: gnu make and windows path
Hello,
I am porting a nmake (microsoft) make system to gnu make.
In the old make system the windows environment variable PATH is
modified. It seems when i use GNU make it is not possible to
update this
variable in a way that executables called by make such is "gcc", "idl
compiler", etc can see the modified variable.
Is there a way to do this in make? or do I have to instruct
my users to
set up there path properly before calling my gnu make build?
Cheers and thanks,
Jim
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make