This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ requiring '.' on aix?
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: libstdc++ requiring '.' on aix?
- From: Robert A Nesius <rnesius at ichips dot intel dot com>
- Date: Thu, 15 Feb 2001 14:47:25 -0800 (PST)
- cc: <gcc-help at gcc dot gnu dot org>
So if I check out the top of the CVS tree I should get
something that works for shared libs on AIX?
-Rob
On 15 Feb 2001, Alexandre Oliva wrote:
> On Feb 15, 2001, Robert A Nesius <rnesius@ichips.intel.com> wrote:
>
> > [pdx206]-> src 47> ./aspell
> > Could not load program ./aspell
> > Could not load library .
> > Error was: Permission denied
>
> <aol>me too</aol>
>
> > 1 libc.a shr.o
> > 2 .
>
> > That's odd. libstdc++ includes '.'?
>
> > Has anyone seen this problem before on AIX?
>
> Yep. Every time I used gcc -shared to create a shared library that
> depended on another shared library.
>
> GCC would generate an import file starting with `#! .'. This would
> cause the generated library to depend on `.'. Ugh!
>
> This is fixed in the development sources. GCC 3.0 will be the first
> release of GCC to properly support the construction of shared
> libraries on AIX 4.1.
>
>
--
#include <sig.h>
------------------------------------------------------------------
Robert Nesius rnesius@ichips.intel.com 503.712.2181
DPG Engineering Computing SW Applications Team