determine the path for exe in

Skip to first unread message

Usha Nayak

Oct 26, 2022, 3:36:38 PM10/26/22
to gyp-developer

I'm new to gyp/ninja build system and would appreciate few pointers.

When I built an application using gyp/ninja on windows, 

I see '' with following configuration:
cl_x64 = "c:\apps\MVS17\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe"
cl_x86 = "c:\apps\MVS17\VC\Tools\MSVC\14.29.30133\bin\HostX64\x86\cl.exe"
cc = UNSET
cxx = UNSET
ld = link.exe
idl = midl.exe
ar = lib.exe
rc = rc.exe
ml_x86 = ml.exe
ml_x64 = ml64.exe
mt = mt.exe

I like to determine the path for all other executables as well namely, link.exe ?

During building, the output of the application shows :
[1/854] ninja -t msvc -e environment.x64 -- "c:\apps\MVS17\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe" /nologo /showIncludes /FC @obj\lib\zlib\nss_zlib.gzlib.obj.rsp /c ..\..\lib\zlib\gzlib.c /Foobj\lib\zlib\nss_zlib.gzlib.obj /Fdobj\lib\zlib\nss_zlib.c.pdb

Based on it, I'm assuming the path for link.exe is c:\apps\MVS17\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64 ?

It would be good to know for sure. I tried modifying to get information on executables. Unfortunately, I haven't been quite successful in doing so. On further checking with ninja group, it came to my attention to look into gyp configuration to ensure it writes the correct paths for ld, idl, ar, etc. If you could let me know where to look for or what modification to do, that would be greatly appreciated. 

Reply all
Reply to author
0 new messages