Boost logo

Boost :

From: Alan (alan-boost_at_[hidden])
Date: 2004-12-15 21:00:17

* Robert Ramey <ramey_at_[hidden]> [2004-12-15 12:41]:
> Alan wrote:
> > What is the state of the release build hang on xml_grammar.cpp
> > on OS X? Has anyone endevoured to block out the offending
> > optiminzation?
> >
> > This is were I saw the message discussed last.
> >
> >

> Based on and the fact
> I don't have OS X around I concluded there was nothing I could do about it.
> It would seen easy to address untill there's a new version of the compiler
> by tweaking one of the build Jamfiles to supress one or more of the
> optimizations for this platform. This was the thrust of my suggestion in
> . I don't think this
> would take very long to do - but it does require understanding of how to
> tweak the Jamffile for the library build which could also be an obstacle.

    Yes. Done. Here is relevent bit of the Jamfile.

lib boost_serialization
    : ## sources ##
    : ## requirements ##
        <borland><*><cxxflags>"-w-8080 -w-8071 -w-8057"

        ## Darwin doesn't like optimization...

    : ## default-build
       <runtime-link>static/dynamic <threading>single/multi

    (The Jamfile syntax means nothing to me.
        I put an echo line above what I determined to be the cc
        command and tried different things until I saw -O0 and

    Now it compiles. As to the specific opimization to turn off,
    well, I'll have to learn more about Boost.Build.

Alan Gutierrez - alan_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at