Mailinglist Archive: opensuse-packaging (162 mails)

< Previous Next >
Re: [opensuse-packaging] Library packaging question
  • From: Bernhard Walle <bernhard@xxxxxxxxx>
  • Date: Wed, 17 Feb 2010 18:54:49 +0100
  • Message-id: <E2F6F056-20D5-41D0-A413-6BFD45095588@xxxxxxxxx>

Am 17.02.2010 um 13:19 schrieb Cristian Rodríguez:

On 15/02/10 09:41, Dave Plater wrote:

|g++ -o COLLADAValidator/bin/posix/x86_64/debuglibexpat/OpenCOLLADAValidator
-static

Also note that static C++ libraries may not work properly if they use
RTTI or exceptions.

I thought that's only the case when using a different compiler (version) for
the binary and for the library. If not, what's the different between linking
against a static library compared to linking with other object files? I mean,
.a is only a collection of .o.


Regards,
Bernhard

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >