On 01/06/2010 01:06 PM, gordon gordon wrote: > Hello everyone, I'd like to use tool called pk12utils (I want to > import certificate from console) however when I compile NSS with > mozilla-build I always get debug build so when I copy all the program > to machine without debug libraries I got an error that system cant > open the file. Sounds like you have more than debug set, it sounds like you also have USE_DEBUG_RTL set as well. This value is only available on Windows and tells NSS to link against the windows debug runtime so you can step into actual windows library calls. The result of _RTL builds will wind up in dist/WIN*.OBJD rather than dist/WIN*.OBJ > I'm using windows and visual 2008 that's variables with > I set with console: > > set OS_TARGET=WINNT > set BUILD_OPT=1 > make nss_build_all > > but I still get debug build. Where is the problem? Am I missing > something? > This should have build an optimized build. Note: debug, opt and debug with rtl all wind up in different directories under dist. So if you built NSS with BUILD_OPT=1 but still pull your pk12utils from the debug directory, you will get the previous debug build you made, not the current optimized one.
bob
-- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto