mkcheck.in partial patch for AIX

Alexandre Oliva oliva@lsd.ic.unicamp.br
Fri Nov 3 22:08:00 GMT 2000


On Nov  4, 2000, David Edelsohn <dje@watson.ibm.com> wrote:

> 	However, the problem with running mkcheck on AIX is that AIX
> linker does not support the "-rpath" option.  It has a "-blibpath:"
> option, but the -L$LIB_PATH already suffices.

I think we should just remove it, and leave it to LD_LIBRARY_PATH to
be set appropriately.  That was the old libstdc++ approach, and it
worked quite well.

> Any suggestion on how one would prefer making -rpath optional?
> Substitute @rpath@ when building mkcheck?  Test @host_os@ at runtime
> to define $RPATH or choose $CXX template?

If we really must keep it, using libtool and -rpath (without -Wl) is
the way to go.

-- 
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


More information about the Libstdc++ mailing list