This is the mail archive of the
mailing list for the GCC project.
Re: gcc-3.1 build successful in hppa64-hp-hpux11.00
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc at gcc dot gnu dot org
- Cc: dkarthik at india dot hp dot com
- Date: Fri, 17 May 2002 19:47:16 -0400 (EDT)
- Subject: Re: gcc-3.1 build successful in hppa64-hp-hpux11.00
> I am able to build gcc-3.1 in PA RISC 64 platform successfully.
> However when I use this new compiler (gcc-3.1) am not able to build
> shared executables. Instead it always build statically linked 64 bit
> executables. I used the below to build the compiler
There is some problem here but the excutables are definitely not
static. Even executables built with "-static" are still dynamic.
I believe that "shared" in this context means that the text of
shared libraries linked with the executable is shareable with
other executables. Is this what you want?
Try chatr instead of ldd. You will see that the executables
are not static.
It may be that ld isn't setting the file magic correctly.
This is a binutils issue and not a gcc issue.
> /* binutils-2.12 64 bit. Used HP-UX compiler to build the binutils*/
> %../binutils-2.12/configure --prefix=/user/dkarthik/usr64 --disable-nls
I suggest using the current cvs binutils. 2.12 is missing an important
patch for hppa64.
J. David Anglin firstname.lastname@example.org
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)