I give up...can you guys point me to some directions for this?

I've installed the latest mozilla-build, VS2008 Express SP1, the latest windows SDK (7.1) and I'm just not getting too far in this process. Linux is sooooo much easier!

I start up the shell with the start-msvc8-x64.bat script, which doesn't seem to do/be anything different from start-msvc8.bat.

The 64-bit compiler seems to be installed from the SDK. If possible I'd like to target from XP 64 on up as far as compatibility, but I'd settle for having it run on my workstation only which is Win7 64.

I read this: http://wiki.mozilla-x86-64.com/How_To_Build_Windows_x64_Build, but it seems it's more browser aligned than just NSS. The part "Note that --target and --host have to set x86_64-pc-mingw32 due to no uname.exe for x64. " seems important, but there's no mozconfig file that I can find to alter the host and target.

I've hacked the path so when I type cl I get the right one:
$ cl
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

But I don't get too far in make nss_build_all before it blows up (I'm guessing because host/target/build system type are all 32bit?):
nsinstall -D ../../nsprpub/WINNT6.1_64_OPT.OBJ
cd ../../nsprpub/WINNT6.1_64_OPT.OBJ ; \
         sh ../configure \
        --disable-debug --enable-optimize --enable-64bit \
        --with-dist-prefix='$(topsrcdir)/../dist/WINNT6.1_64_OPT.OBJ' \

--with-dist-includedir='$(topsrcdir)/../dist/WINNT6.1_64_OPT.OBJ/include
'
loading cache ./config.cache
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
checking for cl... cl
../configure: line 803: CC: command not found
configure: warning:  test failed.  Using normal feature tests
checking for whoami... /c/Windows/System32/whoami
checking for gcc... (cached) cl
checking whether the C compiler (cl  ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
make: *** [../../nsprpub/WINNT6.1_64_OPT.OBJ/config.status] Error 1

Ugh...
Dave
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to