Boost logo

Boost :

From: Paul Hamilton (paul_at_[hidden])
Date: 2003-08-20 22:49:00


> FWIW: I am using gcc 3.3.1 compiled from scratch with sources from
> gcc.gnu.org
> under OS X. This works with full optimization (gcc 3.3 did not).

I am using gcc 3.1 which is the current version with the development
tools that I have on my Mac OS X. It's good to know what I have in
store :-)

> I didn't see your other messages, but I hope this is relevant: I had
> serious
> trouble with multiple initializations of a static variable in the
> Boost.Python
> library. Somehow I got it to work after hours of trial-and-error. See
> boost/libs/python/src/converter/registry.cpp,
> BOOST_PYTHON_CONVERTER_REGISTRY_APPLE_MACH_WORKAROUND.
> It could be that the std::cout << std::flush trick is the main trick,
> I am not
> sure, I only know it works the way you see it.

Were you getting the "ld: common symbols not allowed with MH_DYLIB
output format" error?

Paul.

---------------------
Paul Hamilton
pHamtec P/L - Software Makers
http://www.phamtec.com/
mailto:paul_at_[hidden]

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.
-----------------------------------------------------


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