On 08/28/2009 09:43 AM, yanlin wrote:
Hi Glen,
Thanks for the reply. Do u have any internal reference that i can use
to create a multi-platform build system? We need build nss and its
tools on pretty much all platforms.
Thx,
Yanlin
I manage to get many of them built for intel using the following:
1) on x86_64 hardware: run some modern version of Linux (64 bit).
2) Install the 32-bit compat libraries.
3) use libvirt/kvm to create Windows/XP and Windows 64 virtual
machines. Install the mozilla build tools on them.
4) use libvirt/kvm to create solaris 386 images and load open solaris (I
got this to work under Xen on RHEL 5, I have not yet got it working on kvm.
With these I've been able to build on those respective platforms (both
32 and 64 bit). If you start with a intel mac, I presume you will be
able to run Linux/Solaris/Windows in VM's and build all three plus mac
ppc, though I have not tried that yet myself.
Building cross-platform: the NSS build uses tools build in the build
process to complete the build. One is relatively easy to work around
(coreconf's nsinstall). The other is less easy (shlibsign). You won't be
able to do a complete cross-build without tweaking things. At one time I
know it was possible to attempt crossbuilds, but I doubt it possible
today (though the old support is probably still there).
bob
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto