Hello,

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

When I built NSS using gyp/ninja on windows, 

I see 'build.ninja' 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 ninja.py 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 
that I need 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 local modification I can do to get this information, that would be 
greatly appreciated. 

Thanks.


-- 
You received this message because you are subscribed to the Google Groups 
"dev-tech-crypto@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-tech-crypto+unsubscr...@mozilla.org.
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/4940f2e4-b1b6-427b-9e56-ac68ad4f3f6cn%40mozilla.org.

Reply via email to