Re: C++ link errors using gcc from cvs

2002-03-24 Thread Christopher Currie
I finally figured out what I was doing wrong, and I thought I'd post to the list to document my findings. The important 'configure' flag is --enable-version-specific-runtime-libs This flag is specific to libstdc++, and specifies that the runtime libraries (including libstdc++.a) be installed in

Re: C++ link errors using gcc from cvs

2002-03-17 Thread Christopher Currie
On Sun, 17 March 2002, Tim Prince wrote > I thought everyone recognized that mixing c++ libraries between gcc-3.1 and > gcc-2.95 was even less likely to work than between gcc-3.0x and 2.95. Even > the use of 2.95 with non-default stack alignment is enough to break the > libraries which come wi

Re: C++ link errors using gcc from cvs

2002-03-17 Thread Tim Prince
On Sunday 17 March 2002 20:34, Christopher Currie wrote: > I recently installed gcc from cvs, since I understand people have had > success with it, pretty much out of the box. I'm getting link errors > compiling trival C++ programs, with both my local g++ and the Cygwin > standard g++. I can overc

RE: C++ link errors using gcc from cvs

2002-03-17 Thread Robert Collins
BTW: You probably should use --enable-threads=posix when building gcc targeted for cygwin. Cheers, Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: h