Always link against static libgcc on hppa-linux

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Feb 14 14:36:00 GMT 2002


>  > Yes, the system C library is not the right place.  These are really
>  > basic arithmetic routines needed by the compiler.  I believe HP provided
>  > a separate library because it was used across different OS's and with
>  > different compilers.  You are correct that they have to linked from
>  > an archive.  I wouldn't even want to think of linking both shared and
>  > static C libraries.
> So, why can't hppa-linux work like hppa-hpux in regards to the millicode
> libraries?
> 
> hppa-hpux works by having the linker automatically include milli.a anytime
> you link an object.

I am sure it could.  In that case, should binutils build and install
the library?

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



More information about the Gcc-patches mailing list