[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: gnu make and windows path
From: |
PATTON, BILLY \(SBCSI\) |
Subject: |
RE: gnu make and windows path |
Date: |
Mon, 17 Apr 2006 13:22:05 -0500 |
I wouldn't over the PATH. Just append to it.
Just as a test try the following
PATH = my_path:$(PATH)
$(warning $(PATH))
all :
> -----Original Message-----
> From: Jim [mailto:address@hidden
> Sent: Monday, April 17, 2006 1:18 PM
> To: address@hidden
> Subject: Re: gnu make and windows path
>
>
> 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;$(VC
> INSTALLDIR)\Common7\Tools\bin\prerelease;$(VCINSTALLDIR)\Commo
> n7\Tools\bin;$(FrameworkSDKDir)\bin;$(FrameworkDir)\$(Framewor
> kVersion);$(PATH);
>
> override INCLUDE :=
> $(MSVCDir)\ATLMFC\INCLUDE;$(MSVCDir)\INCLUDE;$(MSVCDir)\Platfo
> rmSDK\include\prerelease;$(MSVCDir)\PlatformSDK\include;$(Fram
> eworkSDKDir)\include;$(INCLUDE)
>
> override LIB :=
> $(MSVCDir)\ATLMFC\LIB;$(MSVCDir)\LIB;$(MSVCDir)\PlatformSDK\li
> b\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: address@hidden
> >> [mailto:address@hidden On Behalf Of Jim
> >> Sent: Monday, April 17, 2006 1:07 PM
> >> To: address@hidden
> >> 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
> >> address@hidden
> >> http://lists.gnu.org/mailman/listinfo/help-make
> >>
> >>
> >
> >
>
>
- RE: gnu make and windows path, PATTON, BILLY \(SBCSI\), 2006/04/17
- RE: gnu make and windows path, PATTON, BILLY \(SBCSI\), 2006/04/17
- RE: gnu make and windows path,
PATTON, BILLY \(SBCSI\) <=
- RE: gnu make and windows path, PATTON, BILLY \(SBCSI\), 2006/04/17