Boost logo

Boost :

From: Richard Hadsell (hadsell_at_[hidden])
Date: 2007-01-05 09:46:11


Neal Becker wrote:

>ICU_LDFLAGS= -L$(ICU_PATH)/lib
>
>This is wrong. On x86_64, the path is .../lib64.
>
>Can we maybe find a better way to do this?
>
For Boost 1.33.0 I had to add these lines to tools/build/v1/gcc-tools.jam:

GCC_STDLIB64_DIRECTORY ?= $(GCC_ROOT_DIRECTORY)$(SLASH)lib64 ;

flags gcc STDLIBPATH $(.ARCH)/<instruction-set>default : $(GCC_STDLIB_DIRECTORY) ;
flags gcc STDLIBPATH $(.ARCH)/<instruction-set>pentium4 : $(GCC_STDLIB_DIRECTORY) ;
flags gcc STDLIBPATH $(.ARCH)/<instruction-set>opteron : $(GCC_STDLIB64_DIRECTORY) ;

    flags gcc STDLIBPATH : $(GCC_STDLIB_DIRECTORY) ;

I also commented out this line in the same file:

#flags gcc STDLIBPATH : $(GCC_STDLIB_DIRECTORY) ;

And I add this option to the bjam command line:

-sBUILD="<instruction-set>opteron"

I hope that someone has fixed this and other similar opteron-related
problems for 1.34.0.

-- 
Dick Hadsell			914-259-6320  Fax: 914-259-6499
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk