[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Link error for blahS.c when used in multiple GCC environment.
From: |
Ralf Wildenhues |
Subject: |
Re: Link error for blahS.c when used in multiple GCC environment. |
Date: |
Tue, 3 Apr 2007 00:30:00 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* Brendon Costa wrote on Tue, Apr 03, 2007 at 12:21:05AM CEST:
>
> They are both C++ libraries yes. I do not tell either of them to link
> with libstdc++ explicitly. The linking lines for the libs are below.
Libtool gets the libstdc++ part in, for g++.
> There is no mention of libstdc++ in the linking of libmystatic. There is
> however a reference to libstdc++ while linking libmyshared which is
> added in by libtool. This should be normal behavior shouldn't it?
I guess. I meant: why do you have one static and one shared C++
library? What is the need?
I guess I need to dig out whether such a setup is supported by GCC.
If it is, then it seems we have a Libtool limitation here.
Thanks,
Ralf