This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: v3 testsuite failures under hpux--setlocale dependency on libdld.sl


> 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


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