Solaris 7/x86 shared libgcc?
Ben Taylor
bent@clark.net
Wed Mar 8 05:56:00 GMT 2000
On Tue, 7 Mar 2000, Martin v. Loewis wrote:
Somebody shoot me now. I had included -lgcc on LDFLAGS, not LIBS
when I configured. <sigh> It all works correctly with no hacks.
I feel really silly.
Thanks for you help
Ben
> > Any ideas on how to either build a shared libgcc, or send flags to
> > the compiler to prevent it from using the __divdi3 call?
>
> You can avoid those __divdi3 calls by not using long long arithmetic.
> You can build libgcc in any way you want by pulling out the libgcc
> sources and compiling them yourself. divdi3 is implemented in
> libgcc2.c
>
> Regards,
> Martin
>
More information about the Gcc
mailing list