This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


  > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]