in reply to building 32-bit perl on hpux 11i w/ gcc 3.4.5 (32bit)

It should not default to 64bit.
Are you sure there are no 64bit gcc elements in your $PATH?
Did you build from a clean tree, or are there leftovers from a previous 64bit build, in which case Configure will use the previous settings, and the resulting binary will be unreliable.
If so, do a make distclean before running Configure.

BTW did you consider using a prebuilt binary distribution? I have one for about every perl version on every HP-UX on my site.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: building 32-bit perl on hpux 11i w/ gcc 3.4.5 (32bit)
by MidLifeXis (Monsignor) on Feb 07, 2007 at 20:14 UTC

    Clean tree (rm -rf..; gzip -dc | tar xvf), no 64-bit elements. The -Uuse64bitall -Uuse64bitint took care of the issue (for now, anyway -- I still have not tested against our vendor's library).

    Are your binary distributions locked into a specific directory, or are they able to be relocated? If I can relocate them (and have multiple installed simultaneously), I would surely consider it, although I might need to get my SA involved (political boundaries, not skill boundaries).

    --MidLifeXis

      The perl depot's on my site are /opt/perl and /opt/perl64. Not really relocatable.
      If you want a C-ANSI-C build with a lot of goodies, I can give it located on /pro, but I guess that is not what you want.

      Enjoy, Have FUN! H.Merijn