This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcc-3.3 and statically linked mingw binaries?
Tom Tromey writes:
> Andrew> I would have thought it would make more sense to put this
> Andrew> stuff in a special file that only gets lined when linking
> Andrew> statically.
>
> Great idea. Then we could remove the current list from FirstThread.
>
> How would you implement this?
>
> I suppose we could do this in C++ code, wrapping the list in #ifndef PIC.
> That's not perfect, though, since it requires a recompilation to add
> to the list.
>
> I'm wondering if there is some specs trick we could pull.
*link:
%{static:-lgcj-static-refs}
Andrew.