|
Boost-Build : |
From: Dan Pieczynski (dpieczynski_at_[hidden])
Date: 2008-02-25 10:20:27
I'm using CENTOS and gcc 3.4.6.
My environment is:
export PATH=`pwd`/tools/jam/src/bin.linux:$PATH
export CFLAGS=-m32
export CXXFLAGS=-m32
export LDFLAGS=-m32
I then run ./configure
Then bjam cxxflags=-m32 linkflags=-m32 cflags=-m32 architecture=x86 address-model=32 -d2 debug
I have two issues, first is that some files generate errors stating: "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." from /usr/include/python2.3/pyport.h. This error prevents some of the libraries from building.
2nd, the libraries that do get generated don't make it to a central library directory, but instead all remain in a library specific subfolder. For example, the date time library is generated in: libs/date_time/build/gcc-3.4.6/debug/address-model-32/architecture-x86/libboost_date_time-gcc34-d-1_34_1.so.1.34.1
First, I'd like to ask, is there a released build that gives me the 32 bit libraries?
Second, assuming there isn't, is this possible to generate a 32 bit library on a 64 bit Linux system?
Third, if so, what am I doing wrong? Thank you for your help.
Dan Pieczynski
_______________________________________________________
The information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial use of the individual or entity to which it is
addressed and may contain information that is propri-
etary and confidential. If you are not the intended
recipient of this message you are hereby notified that
any review, dissemination, distribution or copying of
this message is strictly prohibited. This communica-
tion is for information purposes only and should not
be regarded as an offer to sell or as a solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be secure or error-
free. P6070214
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