[Scons-users] /RE: FW: how to execute Clang static analyzer perlscript instead of gcc.exe on Mingw/MSYS
Dennis Cote
DennisC at harding.ca
Fri Apr 12 15:04:30 EDT 2013
You're problem may be related to your env['PATH'] being win32 notation,
and then using mingw bash?
In mingw bash what does your PATH typically look like?
Hi Bill,
In mingw bash (i.e. MSYS shell window) if I dump the environment using
"env", I get the following for PATH:
PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/Perl64/site/bin:/c/Perl64/bin:/
c/Program Files (x86)/Intel/iCLS Client/:/c/Program Files/In
tel/iCLS
Client/:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windo
ws/System32/WindowsPowerShell/v1.0/:/c/Program File
s/Intel/Intel(R) Management Engine Components/DAL:/c/Program
Files/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files
(x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files
(x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Prog
ram Files (x86)/Intel/OpenCL SDK/2.0/bin/x86:/c/Program Files
(x86)/Intel/OpenCL SDK/2.0/bin/x64:/c/Program Files (x86)/Intel/OpenCL
SDK/2.0/bin/x86:/c/Program Files (x86)/Intel/OpenCL
SDK/2.0/bin/x64:/c/Program Files (x86)/Altium Designer Summer
08/System:/c/Pyth
on27:/c/Python27/Scripts:/c/Program Files (x86)/Intel/OpenCL
SDK/2.0/bin/x86:/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64:/c/
Program Files (x86)/CMake 2.8/bin:/c/gnuwin32/bin:/c/Program
Files/Microsoft SQL Server/110/Tools/Binn/:/c/Program Files/TortoiseSVN
/bin:/c/cmd_line_tools:/c/cmd_line_tools/AStyle/bin:/c/cmd_line_tools/mi
ngw32-dw2/bin
The first few entries correspond to the entries listed by scons starting
at the second entry. It looks like scons insert c:\MIngw\bin at the
beginning of the PATH, probably because I have selected tools=['mingw']
in my SConstruct file.
PATH: C:\MinGW\bin;.;C:\MinGW\msys\1.0\local\bin;C:\MinGW\msys\1.0\bin
Scons Path MSYS
Path
C:\MinGW\bin
.
.
C:\MinGW\msys\1.0\local\bin /usr/local/bin
C:\MinGW\msys\1.0\bin /bin
Dennis Cote
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130412/104b6394/attachment.htm>
More information about the Scons-users
mailing list