From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1708 invoked by alias); 22 Jul 2003 18:35:05 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1611 invoked from network); 22 Jul 2003 18:34:59 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 22 Jul 2003 18:34:59 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4D8642B7F; Tue, 22 Jul 2003 14:34:58 -0400 (EDT) Message-ID: <3F1D83D2.4090205@redhat.com> Date: Tue, 22 Jul 2003 18:35:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Brobecker Cc: gdb@sources.redhat.com Subject: Re: How to build HP/UX 11.00 64 bit GDB? References: <3F1D69C1.8050407@redhat.com> <20030722181242.GA1031@gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00288.txt.bz2 >> 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 :-/