This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Always link against static libgcc on hppa-linux


> On Mon, Feb 04, 2002 at 04:26:40PM -0500, John David Anglin wrote:
> > 	* pa32-linux.h (LINK_COMMAND_SPEC): Define.
> 
> Why not do this in LINK_SPEC instead?

The "-gcc" is output at the end of the link command.  The LINK_SPEC is
output just after %(linker) in the link command, before the %G %L %G
magic.  If there is a shared libgcc, we link against both the shared
and static libraries.  I put it after %E because I thought it conceivable
that the end file might need a milli routine.

Under hpux 64-bit, milli.a is added to LIB_SPEC.  However, at the moment,
ENDFILE_SPEC is empty.

If these were to move, I think putting them in the ENDFILE_SPEC would be
the best place.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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