This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gcc 3.2


--- Christopher Faylor <cgf@redhat.com> wrote:
> On Fri, Aug 30, 2002 at 08:16:57PM -0700, Nicholas Wourms wrote:
> >--- Bobby McNulty Junior <bmj2001@bellsouth.net> wrote:
> >> When will it be an official part of the Cygwin distribution?
> >
> >When Chris is good 'n ready to release it, not a moment sooner.
> 
> I.e., I'll probably release it after I release the next version of
> cygwin since updated headers from 1.3.13 will be required.
> 
> Now, if only I could get "someone" to review the Thomas Pfaff's
> pthread patches...

FYI, if you want to see the problem with gcc-3.2 libstdc++.la
refusing to be linked by libtool, do this:

1)Download gmp-4.1 from:
ftp://ftp.gnu.org/gnu/gmp/gmp-4.1.tar.gz

2)Unpack to a tmp dir, configure with:
"--enable-shared --disable-static --enable-cxx"

3)Run make, and wait till it gets to linking the c++ library, which
will display the message.

At this point it should bomb out complaining that "libstdc++.la is a
static library and Cygwin doesn't allow static libraries in its
shared libraries" [or something to that effect].

Note that this behaviour is seen in a number of packages.  Amongst
others, these include Berkeley DB v3+/v4+ c++ libraries and the
plotutils c++ libraries.  IIRC, I was encountering the same issue
with compiling setup.exe.  This behaviour only occurs with 
gcc-3.2(3.1 as well) and has been confirmed on both WinME and Win2k. 
I've done my best to figure it out, but I'm not much of a libtool
wiz.  It doesn't really seem like a libtool problem, however, because
using CXX="g++-2" & CXXCPP="g++-2 -E" works fine.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]