This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Always link against static libgcc on hppa-linux
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: mark at codesourcery dot com (Mark Mitchell)
- Cc: dje at watson dot ibm dot com, rth at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 13 Feb 2002 18:59:29 -0500 (EST)
- Subject: Re: Always link against static libgcc on hppa-linux
> The solution that seems best to me (perhaps naively) would be to put
> these routines in the crt*.o files. Do you use those on hppa-linux?
> Those files are linked in with every shared object, so you would get
> the routines automatically, and statically as you require.
Yes. However, I believe that libc.so is linked with "-nostartfiles".
Thus, I think the above suggestion likely would cause a problem building
this library.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)