This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Cross-GAS for HPUX on i386-Linux, once more...(some effort)
- From: law at redhat dot com
- To: Sven Tränkle <Sven dot Traenkle at helix dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 10 Jan 2002 07:41:04 -0700
- Subject: Re: Cross-GAS for HPUX on i386-Linux, once more...(some effort)
- Reply-to: law at redhat dot com
> I found several Mails in the Archive about people trying to bild a
cross-gas
> on i386-Linux for assembling HPUX assembler-files, but nobody seemed to be
> succesfull.
> The problem is always the som.c file, which due to include-dependencies
> could not be compiled on Linux.
> So I tried it myself and found out a possibility to compile som.c:
>
> I mounted the source tree on an HP-UX machine and compiled the som.c with
> the same command Linux was trying but added the -E option for preprocessing
> only:
The SOM code has never been designed to be cross-compilation safe,
particularly in terms of endianness and datatype size issues.
The only successful cross-compilations have been using hosts with the same
endianness and datatype characteristics -- and (of course) you have to have
the SOM header files from an hpux system.
I would welcome patches to address these issues, but I'm not likely to address
them myself.
jeff