Re: Using MSVC as a cross compiler

2007-03-09 Thread Neil
Wan-Teh Chang wrote: NSS uses LD on Unix (including Linux and Mac OS X), and LINK on Windows, to refer to the linker. It also uses $LINK_DLL on Windows and $MKSHLIB everywhere else. How inconsistent :-( -- Warning: May contain traces of nuts. ___

Re: Using MSVC as a cross compiler

2007-03-09 Thread Wan-Teh Chang
Neil wrote: Wan-Teh Chang wrote: You'll see that the Mozilla developers override these make variables used by the NSS coreconf build system when cross-compiling NSS: 199 ifdef CROSS_COMPILE 200 DEFAULT_GMAKE_FLAGS += \ 201 NSINSTALL=$(NSINSTALL) \ 202 NATIVE_CC=$(HOST_CC) \

Re: Using MSVC as a cross compiler

2007-03-09 Thread Nelson Bolyard
Wan-Teh Chang wrote: I can point you to the relevant Mozilla makefile: http://lxr.mozilla.org/security/source/security/manager/Makefile.in#199 You'll see that the Mozilla developers override these make variables used by the NSS coreconf build system when cross-compiling NSS: 199 ifdef