Boost logo

Boost Users :

Subject: Re: [Boost-users] -Solved - Build Boost.Context with Visual Studio
From: Thomas Ziegenhagen (thomas_at_[hidden])
Date: 2016-02-26 10:26:30


Hi again,

just a quick heads-up: Boost.Context builds and links correctly now. I
inspected the command line used by bjam and noticed a few things. Mainly
it was one missing define provided at the command line.

Working command line to build the ASM file for Visual Studio x64 is:

ml64 /nologo /Cp /Cx /Zp4 /DBOOST_CONTEXT_EXPORT= /Fo
$(IntDir)%(Filename).obj /c %(FullPath)

"jump_x86_64_ms_pe_masm.asm" and "make_x86_64_ms_pe_masm.asm" have been
the correct files. Difference to previous attempt is the
"/DBOOST_CONTEXT_EXPORT=".

Have a nice day.

Bye, Thomas


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net