Boost logo

Boost-Build :

Subject: Re: [Boost-build] specifying architecture when building bjam.exe (on Windows)
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-02-10 19:09:20

On 10.02.2017 13:59, Jürgen Hunold via Boost-build wrote:
> Hi Stefan,
> Am Freitag, 10. Februar 2017, 09:41:00 CET schrieb Stefan Seefeld via Boost-
> build:
>> how can I specify the machine-type when building bjam.exe on Windows ?
> I don't know if you can do that.
>> I'm running `build.bat --with-python=...` which results in "fatal error
>> LINK1112: module machine type 'x64' conflicts with target machine type
>> 'X86'", presumably because the default machine type differs from the
>> one of my Python installation.
> This looks like you have a 64-bit Python install on that machine. Try adding
> "address-model=64" to your Boost.Build command line.
> Note that this error usually occurs when linking the libraries, not when
> building b2.exe. Please provide some more context next time.

I'm building b2 with builtin Python support (to experiment with a new
Python frontend). So far I have done that only on Linux, now I want to
start experimenting on Windows, too. Neither `build.bat
--with-python=... address-model=64` nor `buid.bat --with-python=...
--address-model=64` works.


      ...ich hab' noch einen Koffer in Berlin...

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at