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
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
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
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
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 overcome these errors if I explicitly link the right
copy of
libstd
Solution found.
I had built and installed various alternate versions of gcc into /usr/local.
Despite the fact that I placed /usr/local/bin after /usr/bin in my path so
that I would get the default cygwin gcc for this project, /usr/bin/gcc was
still passing -L/usr/local/lib before -L/usr/lib whe
> > g++ -Wl,--enable-auto-import -ftemplate-depth-99 -O2 -o uml.exe
> [...]
> > After a number of auto-import warnings, which I expect, like:
> > Warning: resolving QString::shared_null by linking to
> > __imp___7QString$shared_null (auto-import)
>
> > I receive a series of messages, which I do
Hallo Ron,
Am 2002-01-03 um 18:51 schriebst du:
> I am trying to build the Linux UML modeler with cygwin. Everything works
> until I link. Libtool tries adding -ldl to the g++ linking call. If I enter
> g++ command by hand without the -ldl everything is fine, except I get a
> number of C++ rela
At 11:51 AM 1/3/02 -0600, you wrote:
>I am trying to build the Linux UML modeler with cygwin. Everything works
>until I link. Libtool tries adding -ldl to the g++ linking call. If I enter
>g++ command by hand without the -ldl everything is fine, except I get a
>number of C++ related linking erro
I am trying to build the Linux UML modeler with cygwin. Everything works
until I link. Libtool tries adding -ldl to the g++ linking call. If I enter
g++ command by hand without the -ldl everything is fine, except I get a
number of C++ related linking errors.
My command line is:
g++ -Wl,--enable
10 matches
Mail list logo