|
Boost-Build : |
Subject: Re: [Boost-build] specifying architecture when building bjam.exe (on Windows)
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2017-02-10 18:59:39
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.
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold_at_gmx.eu ! Germany
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk