libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no AIX 5 support? I've got some idea what's needed.


From: mcnichol
Subject: Re: no AIX 5 support? I've got some idea what's needed.
Date: Wed, 27 Nov 2002 12:55:56 -0600

For AIX, libtool knows how to build "dynamic" libraries if
you pass in -brtl or -Wl,-brtl using LDFLAGS.  It will automatically
add the -G flag when building a shared object.

Dan


> From: Gary Kumfert <address@hidden>

> 
> Libtool is currently builds shared objects only and
> dumps them into *.a files.  This is a problem for me
> since I've got "#ifdef PIC" preprocessor directives in the
> code.  Static and dynamic loaded libraries do different
> things and shouldn't be mixed in my case.
> 
> I'm using the -G option to create dynamic libraries
> (similar I think, to -fPIC for gcc).  I think its new 
> to AIX5, and supercedes the "-bM:SRE etc etc." stuff (not sure).
> I also add the "-qstaticinline" command for C++ code
> to suppress warnings about duplicate symbols.
> (Which brings up another question: when is libtool 
>  gonna support C++?)
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]