gcc on hp-ux uses the native linker, so if gcc is used there, the normal gcc flags for linker do not apply. I propose the attached patch to unixccompiler.py. The patch also adds +s, which means that SHLIB_PATH is honored (the same as LD_LIBRARY_PATH on Linux/Solaris). I don't have the HP-UX native compiler, but I would think that this patch should also fix that, as it shares the common linker.
Logged In: YES user_id=21627 There's no uploaded file! You have to check the checkbox labeled "Check to Upload & Attach File" when you upload a file. In addition, even if you *did* check this checkbox, a bug in SourceForge prevents attaching a file when *creating* an issue. Please try again. (This is a SourceForge annoyance that we can do nothing about. :-( )
Logged In: YES user_id=21627 Thanks for the patch. Applied as unixccompiler.py 1.53. I'm a bit surprised that this patch is correct. We are talking about *runtime* library dir options here. I take it that HP-UX does not have the notion of runtime library dirs? as -L is surely used for link time library dirs.