Re: Problems Building NSS on Mac OS X 10.6 (64-bit)

2011-01-20 Thread Wan-Teh Chang
On Wed, Jan 19, 2011 at 8:08 PM, Nathan Craike wrote: > Is it possible to build the 32-bit version on a 64-bit Mac? The Mac OS X man > page for gcc describes an "Apple only" option -arch: > >> -arch arch >>            Compile for the specified target architecture arch.  The >> allowable values a

Re: Problems Building NSS on Mac OS X 10.6 (64-bit)

2011-01-20 Thread Wan-Teh Chang
Hi Nathan, I know about this problem. Apple's compiler generates 64-bit binaries by default now. So passing USE_64=1 to make is one solution to the build problem, but it produces a 64-bit build. To generate a 32-bit build, your workaround of passing CC="gcc -arch i386" CXX="g++ -arch i386" to m

Re: Problems Building NSS on Mac OS X 10.6 (64-bit)

2011-01-20 Thread Robert Relyea
On 01/19/2011 10:36 PM, Kaspar Brand wrote: > On 20.01.2011 05:08, Nathan Craike wrote: > >> I'd eventually like to include the built libraries in software >> deployed an any machine running Mac OS X 10.6, which may be Intel >> 32-bit or 64-bit machines, so a build which works on both >> architectu

Re: importing leaf cert into NSS db via JSS

2011-01-20 Thread David Stutzman
On 12/9/2010 2:29 PM, Wan-Teh Chang wrote: I would go with adding an importNonUserCertPackage method, or add a new method that exposes both the boolean noUser and boolean leafIsCA parameters of the native method importCertPackageNative. I got around to testing the second method. I exposed the