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


> As a relatively new port, I don't believe we should bother fixing
> 3.0.x for it.

Fine; that resolves things for GCC 3.0.4.  I will make a prerelease
tarball shortly.

We still need to figure out what to do for 3.1.

The issues with linking libgcc twice are only partly about code; even
more important is data.  There is global data in libgcc that must be
present exactly once in the final executable.

It seems that there are a lot of possibilities available:

- Richard Henderson points out that you may be able to make libc
  contain these routines.

- I suggested that you could make crt*.o contain these routines.

- David suggested you could use a separate library.

I think Richard's suggestion is probably best, but failing that
neither of the other two should be horribly difficult.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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