On Fri, 03 Jun 2005 16:20:53 +0100, Nick Glencross <[EMAIL PROTECTED]> wrote:
> 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 Get yourself a testdrive account on http://www.testdrive.hp.com/ Current available systems: http://www.testdrive.hp.com/current.shtml All systems have native ANSI-C compilers installed If you are serious in using that for HP-UX or OpenVMS, please contact me off-list, since we have a special perl5 group there with just a little bit more rights > 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) -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2 on HP-UX 10.20, 11.00 & 11.11, AIX 4.3 & 5.2, SuSE 9.2 & 9.3, and Cygwin. http://www.cmve.net/~merijn Smoking perl: http://www.test-smoke.org, perl QA: http://qa.perl.org reports to: [EMAIL PROTECTED], perl-qa@perl.org