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


In message <200202142028.g1EKSQW2003183@hiauly1.hia.nrc.ca>, "John David Anglin
" writes:
 > > 	I agree that these type of routines should be in the system C
 > > library, not libgcc.a.  The problem seems to be that the routines need to
 > > be local requiring they be linked statically from an archive, not a shared
 > > library.  Glibc is a shared library, so I think it presents the same
 > > problems as libgcc_s.so.
 > 
 > 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.

jeff


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