This is the mail archive of the binutils@sourceware.org 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: Howto add HP-UX SOM object file support


> I have compiled binutils-2.17 for both HP-UX Itanium (B.11.23) and
> HP-UX PA-RISC 2.0 (B.11.11 ). But there is no support for (old) HP-UX
> SOM object file format, for example "nm" do not understand files which
> are " PA-RISC1.1 shared library -not stripped".
> 
> I think I must add some target to the configure's "--enable-targets="
> option... But what is the correct one?
> Could you please help me with this issue, thanks a lot!
> 
> Best Regards
> Tippa

If you built on a PA-RISC box then I am surprised that nm wouldn't
understand the SOM files since that is the default format for HP-UX
PA-RISC boxes when you are in 32 bit mode.  In 64 bit mode it would use
ELF, but you should only get 64 bit mode if you explicity ask for it.
(i.e.  use target of hppa64-hp-hpux11.11).  If you are building on
PA-RISC I would try using a host/build/target of hppa1.1-hp-hpux11.11 or
hppa2.0w-hp-hpux11.11.  If you are building on Itanium, you could use
one of those targets with the --enable-targets option.

What error do you get when run nm on an unstripped shared library?  When
I run a 2.17 nm on one of the HPPA HP-UX 11.11 system libraries in
/usr/lib I do not get any errors.

Steve Ellcey
sje@cup.hp.com


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