This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: v3 testsuite failures under hpux--setlocale dependency on libdld.sl
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: v3 testsuite failures under hpux--setlocale dependency on libdld.sl
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Tue, 22 May 2001 12:23:56 -0700 (PDT)
- cc: libstdc++ at gcc dot gnu dot org
> HP recommends linking with the following linker options in this situation:
>
> -Wl,-E -Wl,+n -l:libdld.sl
>
> I think this probably has to follow `-lc'. I need a suggestion on how
> to implement this in the testsuite.
Specifying LIB dependencies in the libstdc++ testsuite is a rats nest of
problems involving linking order, libraries to link, and special flags.
The current approach is to specify the libstdc++ '-L' flags only: ie
where the new libraries are located. This, plus using g++ instead of gcc,
means that linkage will happen in whatever way that an installed
compiler would find libraries.
So, perhaps you'll have to make g++ on HPUX link in this special library
for all C++ linkage.
-benjamin