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: Deal with -lgcc -lc dependencies


On Thu, Apr 04, 2002 at 02:58:59PM -0800, Richard Henderson wrote:
> On Thu, Apr 04, 2002 at 02:21:04PM -0800, petrov@pacbell.net wrote:
> > Then, I just don't understand what the probem is. I don't have environment
> > right here so I'm mostly guessing now.
> 
> main -> foo -> __divdi3 -> .udiv
>         libc   libgcc      libc

But this is for static libc only, so shouldn't we really use (3.2 material):
%{static:-lgcc -lc -lgcc -lc}%{!static:-lc -lgcc -lc_nonshared}

	Jakub


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