Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!hplabs!hpcc05!hpcc01!okamoto From: okamoto@hpcc01.HP.COM (Jeff Okamoto) Newsgroups: comp.lang.perl Subject: Re: Perl 4.0 on HP 9000/300 HP/UX Message-ID: <1180014@hpcc01.HP.COM> Date: 27 Mar 91 16:05:06 GMT References: <1991Mar25.155713.17020@cs.ruu.nl> Organization: HP Corp Computing & Services Lines: 31 henkp@cs.ruu.nl (Henk P. Penning) asks: > On HP9000/300 HP/UX 7.05... > Relevant compiler settings : > optimize='+O1' > ccflags='-Wc,-Nw500' > libs='-lnet -lndir -lndbm -lmalloc -lm -lBSD' Beware! Using -lBSD when Configure thinks an HP-UX system is SysV based is asking for trouble, especially in the signal handling area. I'd recommend taking -lBSD out of the libs line. What is alignbytes in your config.sh? Configure runs a program that says 2, but the answer should be 4. (Doubles can align on 2 bytes inside structures, but must be 4 for normal use). See the HP-UX Portability Guidelines for more details. Also, from personal experience, using perl's malloc seems to prevent some malloc/free errors. Finally, -lnet and -lndir are empty, and thus not needed. Hope this helps. -- \ oo The New Number Who, \____|\mm Jeff Okamoto //_//\ \_\ HP Corporate Computing & Services /K-9/ \/_/ okamoto@ranma.corp.hp.com /___/_____\ ----------- (415) 857-6236