This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris 7/x86 shared libgcc?
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: Solaris 7/x86 shared libgcc?
- From: Ben Taylor <bent at clark dot net>
- Date: Wed, 8 Mar 2000 08:56:35 -0500 (EST)
- cc: gcc at gcc dot gnu dot org
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
>