This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++ requiring '.' on aix?


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.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]