Subject: Re: [boost] Building 1.52.0 with g++ 4.7.2
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2013-02-01 17:38:48
On 02/01/2013 05:09 PM, Oliver Kowalke wrote:
> boost.build was not able to deduce on which architecture it is running. I
> assume it's x86 - then the question is why x86.cpp does not compile.
> the file contains only compiler macros declared for x86, like:
> #if !defined(i386)&& !defined(__i386__)&& !defined(__i386) \
> && !defined(__i486__)&& !defined(__i586__)&& !defined(__i686__) \
> && !defined(_M_IX86)&& !defined(__X86__)&& !defined(_X86_) \
> && !defined(__THW_INTEL__)&& !defined(__I86__)&& !defined(__INTEL__) \
> && !defined(__amd64__)&& !defined(__x86_64__)&& !defined(__amd64) \
> && !defined(__x86_64)&& !defined(_M_X64)
> #error "Not x86"
> maybe I should remove instruction-set=core2 first
Thanks. That was enough to tell me that the predefined macros were not getting through. When attempting to debug them with '-dM -E' options, I found that we were missing some runtime libraries. I believe that will fix the problem with our compiler.
-- Dick Hadsell 203-992-6320 Fax: 203-992-6001 Reply-to: hadsell_at_[hidden] Blue Sky Studioshttp://www.blueskystudios.com 1 American Lane, Greenwich, CT 06831-2560 Follow Blue Sky Studios on Facebook <http://www.facebook.com/BlueSkyStudios> and Twitter <http://twitter.com/#%21/blueskystudios>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk