Are you trying to build 64 bit OR 32 bit ruby?
Ages ago I had problems building perl on an HP-UX 11 (V class). With great
difficulty (ensuring 32 bit everywhere) I was able to do it.
Did you try using cc (instead of gcc - just an experiment)?

Ranga

HOLOWKO,LARS (A-Germany,ex1) <lars_holowko / agilent.com> wrote in message
news:67EEB157BD87D311A7430090278CBA7F010F8849 / larisa...
> It may answer howto compile Ruby on HP-UX 11 at all. But it didn't answer
my
> question, how to compile it with gcc cleanly. Maybe I have to wait for gcc
> 3.0.
>
>
> Regards,
>
> L.
>
> >>-----Original Message-----
> >>From: Dave Thomas [mailto:Dave / PragmaticProgrammer.com]
> >>Sent: Dienstag, 16. Januar 2001 15:29
> >>To: ruby-talk / netlab.co.jp
> >>Subject: [ruby-talk:9376] Re: Ruby 1.6.2 compilation problems on HP-UX
> >>11 with gcc 2.95.2 with optimizations
> >>
> >>
> >>WATANABE Tetsuya <tetsu / jpn.hp.com> writes:
> >>
> >>> In message "[ruby-talk:9368] Ruby 1.6.2 compilation
> >>problems on HP-UX 11 with gcc 2.95.2 with optimizations"
> >>>     on 01/01/16, "HOLOWKO,LARS (A-Germany,ex1)"
> >><lars_holowko / agilent.com> writes:
> >>>
> >>> |./configure --prefix=/opt/gnu
> >>>
> >>> try
> >>>
> >>> CC="cc -Ae" CFLAGS=-O ./confiure --prefix=/opt/gnu
> >>
> >>It is appropriate to add this to the next version of the FAQ?
> >>
> >>Dave
> >>