Neil, None of the NSS developers cross-compiles NSS. (The closest thing we do to cross-compilation is to build the Windows CE binaries on Windows 2000/XP.) So we're not familiar with how the Mozilla developers cross-compile NSS.
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 CROSS_COMPILE 200 DEFAULT_GMAKE_FLAGS += \ 201 NSINSTALL="$(NSINSTALL)" \ 202 NATIVE_CC="$(HOST_CC)" \ 203 CC="$(CC)" \ 204 CCC="$(CXX)" \ 205 LINK="$(LD)" \ 206 AS="$(AS)" \ 207 AR='$(AR) $(AR_FLAGS:[EMAIL PROTECTED]@)' \ 208 RANLIB="$(RANLIB)" \ 209 RC="$(RC) $(RCFLAGS)" \ 210 OS_ARCH="$(OS_ARCH)" \ 211 CPU_ARCH="$(TARGET_CPU)" \ 212 $(NULL) 213 SKIP_CHK=1 214 endif To build NSS stand-alone, cd mozilla/security/nss gmake nss_build_all The 'nss_build_all' makefile target also builds NSPR (mozilla/nsprpub). You can study mozilla/security/nss/Makefile to see how we do that. Wan-Teh _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto