This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ requiring '.' on aix?
- To: Robert A Nesius <rnesius at ichips dot intel dot com>
- Subject: Re: libstdc++ requiring '.' on aix?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 15 Feb 2001 18:59:58 -0200
- Cc: <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.30.0102151019550.28001-100000@plxw0032.pdx.intel.com>
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