libstdc++ requiring '.' on aix?

Robert A Nesius rnesius@ichips.intel.com
Thu Feb 15 14:47:00 GMT 2001


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




More information about the Gcc-help mailing list