How to build HP/UX 11.00 64 bit GDB?

Andrew Cagney ac131313@redhat.com
Tue Jul 22 18:35:00 GMT 2003


>> How do I do this?
> 
> 
> As far as I remember, here is how I did it:
>   - used gcc 3.2.1 configured as hppa64-hp-hpux11.00

Nope ...

>   - then configure gdb as hppa64-hp-hpux11.00

Yep ...

Hmm, perhaphs:
	CC='cc +DW2.0W' .../configure hppa64-hp-hpux11.0
will also work ...?

> 
> The only machine on which I can do builds and testing is a royal pain to
> use and I have also been slaped on the hand for using up too much disk
> space, so it's been a while since the last time I did a build...
> 
> Let me know if you have any problem. I can give it a try too.

Well I just tried setting GDB_MULTI_ARCH tm-hppa64.h to 
MULTI_ARCH_PARTIAL and then built a hppa64-hp-hpux11.00 GDB but with the 
wrong (32 bit GCC) compiler.  To my suprize it build and even loads 64 
bit symbols, it just can't run them :-(.   I'm wondering if hppa64 is 
perhaphs closer to multi-arch partial then we think!

Andrew

PS: I had to add a -lxpdl flag as well, using the correct compiler 
should fix that one :-/




More information about the Gdb mailing list