H.Merijn Brand wrote:
On Fri, 03 Jun 2005 13:11:57 +0100, Nick Glencross
<[EMAIL PROTECTED]> wrote:
Guys,
I'm currently investigating the build process for nci and dynclasses on
HP-UX. As you may have seen from my previous posts, I'm using gcc and
the native bundled ld.
use +Z -z for more portability and higher run-time safety
and never forget -Ae, but I can't see from this post if you already use it
Good points about the flags. I only have the 'bundled' C compiler and am
stuck with gcc, so I've not actually been able to use the HP cc. You're
right, -Aa or c89 command-line, a very good point.
I've been trying to understand the rules that HP-UX's dlopen/dlsym play
by. I've still a few more experiments to try, but dlsym has only worked
for me if the the executable is also created PIC and the dynamic library
is linked against libparrot.a, resulting in huge dynclasses, but dlsym
returns NULL otherwise.... (mind you, it's worked pretty well for
nci_test.sl)
I fear that there may be some pointer alignment problems in hash because
I'm getting hangs which seem to be linked to finding strings in hash
tables. (That's pure conjecture)
Nick