Boost logo

Boost-Build :

From: Raoul Gough (raoulgough_at_[hidden])
Date: 2003-01-17 13:49:30

"David Abrahams" <dave_at_[hidden]> wrote in message

> "Raoul Gough" <raoulgough_at_[hidden]> writes:
> > "David Abrahams" <dave_at_[hidden]> wrote in message
> >
> >>
> >> if $(<[2]) && $(NT) && ( -mno-cygwin in
> >> {
> >> gcc-dllwrap $(<) : $(>) ;
> >> }
> >> else
> >> {
> >> # Workaround GCC's lack of command-files and NT's
> > line-length limitation.
> >> if $(NT) {
> >> JAMSHELL on $(<) = % ;
> >> }
> >>
> >> All you need to do is to move the 2nd if statement outside the
> >> one.
> >
> > Weird. The jam code you've identified has been there since
> > quite a while before I "added" -mno-cygwin support.
> Oh, BTW, the code I identified isn't what you thought. I was
> specifically talking about how the setting of JAMSHELL is
> not done for the mno-cygwin case.

Still, it does suggest that you had done some work on this compiler
mode before I tried it. I wonder if you had it fully working though,
because (AFAIK) proper Cygwin-compiler handling of C++ libraries
with -mno-cygwin is relatively recent (circa October 2002).

According to the following page:

it used to be necessary to install the Mingw version of libstdc++
manually (which would probably have been a lot easier than using
STLport, if only I'd known!).

> I just ripped out all the special -mno-cygwin "support" from the gcc
> toolset, which might make everything work again.

Sounds good to me.

> What kind of trouble were you having? It looks like you would've
> trouble making it work if you were trying to use the gcc toolset.
> gcc-dllwrap *ever* the right way to build dlls under -mno-cygwin?
> Your gcc-no-cygwin toolset doesn't do that!

Don't know. I stole the link action from mingw, and didn't (at the
time) know about this branch of the gcc-tools jamfile.

> > It's possible that my Cygwin installation was broken, or that
> > something changed in Cygwin or boost to prevent it working before
> > tried it. AFAIK, there was nothing documented at the time, so it's
> > hard to say what was necessary to get it working, unless David can
> > remember anything about it?
> Not much.

Well, it looks like there really were some tricks to getting this
working (like installing extra libraries by hand) so maybe I wasn't so
far wrong after all!

Anyway, it should all be much simpler now. I'm still trying to get
around to simplifying the docs - will post again when I've got

Raoul Gough.

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at