2013/7/9 Gisle Vanem <[email protected]> > "Jamey Kirby" <[email protected]> wrote: > > I am trying to build libcurl for x64, I finally got it almost working. I >> can build x86 with no problems. Fails when it tried to compile amigaos for >> x64. How do I tell it to only build vc-x64? >> >> Here is my build line: >> >> nmake /f Makefile.vc10 MACHINE=x64 cfg=release >> > > Looks okay. > > > Works when I select x86, but amigaos fails and build fails when I select >> x64 >> > > Not only amigaos.obj fails. All your objects fails to link. That one fails > only > because it's the first in the list given to link.exe. > Did you prepare your environment for building 64-bit code. I.e. call > "vcvars32.bat 64bit" to setup the PATH to point to the x64 version of > cl.exe? > > --gv > > For cmake I finally figure out what's wrong with generated VC solution. It is known issue for VC2010 build when resource file linked with static library (http://public.kitware.com/Bug/view.php?id=11240). I've provided patch for cmake (attached) which address this issue.
> > ------------------------------**------------------------------**------- > List admin: > http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library> > Etiquette: > http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html> > -- Best Regards, Sergei Nikulov
0001-fix-for-CMake-generated-VC2010-static-builds.patch
Description: Binary data
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
