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.
> > http://aspn.activestate.com/ASPN/Mail/Message/2233439
> Based on http://lists.boost.org/MailArchives/boost/msg75057.php 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
> http://lists.boost.org/MailArchives/boost/msg75058.php . 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.
: ## sources ##
: ## requirements ##
<borland><*><cxxflags>"-w-8080 -w-8071 -w-8057"
## Darwin doesn't like optimization...
: ## default-build
(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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk