Cross-GAS for HPUX on i386-Linux, once more...(some effort)

law@redhat.com law@redhat.com
Thu Jan 10 11:33:00 GMT 2002


  > 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



More information about the Binutils mailing list