This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: problem building binutils for HPPA on i686
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: problem building binutils for HPPA on i686
- From: Robert Fitzsimons <robfitz at 273k dot net>
- Date: Mon, 11 Jun 2001 14:27:18 +0000
Hello
Over the weekend I created a header file which defines the data
structures needed to build the bfd/som.[ch] files without the HPUX
system headers. This header file is based on information in the "32-Bit
PA-RISC Run-Time Architecture (HP-UX 11.00)" (rad_11_0_32.pdf) document,
available at <URL:http://devresource.hp.com/STK/toc_ref.html#Runtime>.
At the moment objdump is not able to read a som file on a i686 linux due
to byte-order problems, adding some bfd_get_32 functions seems to
helped. Is there a better/preferred way to do this? Also I haven't
been able to check if the files still work on a HPUX system.
Does anybody see any problems with including this header file and
changes in binutils? I know I need to fill out a copyright assignment
form.
Robert
On Sun, Jun 10, 2001 at 08:06:06AM +0200, Giuseppe Sacco wrote:
> Il Thu, Jun 07, 2001 at 07:57:25PM +0930, Alan Modra ha scritto:
> > > ../binutils-2.11.90.0.7/configure --target=hppa-hpux --prefix=/mnt/install -v
> > >
> > > /mnt/hpux/gcc-2.95-2.95.3.ds5.orig/build-binutils/bfd/../../binutils-2.11.90.0.7/bfd/targets.c:1035: undefined reference to `som_vec'
> >
> > The SOM targets must be compiled natively as they unfortunately make
> > use of HPUX system headers.
>
> Thanks for your reply.
>
> My aim is to have a gcc for HP. The first step to build a cross compiler is to
> compile a "cross binutils." What should I do? Should I copy the HP includes
> on my linux box in order to compile binutils?
>
> Thanks,
> Giuseppe