[uClinux-dev] question in arch/armnommu/boot/compressed/Makefile

Y.H. Park wegaia at micro-web.co.kr
Tue Aug 13 05:07:08 EDT 2002


Hi Greg,Erwin.

Thanks for your help.
BTW, you mean some library codes of libgcc.a may be added to the kernel image? 
or it may be just used by gcc(or ld) when compiling(or linking) the kernel image?

Sorry for the repeated question above, But I'm very confused with it.

Thanks.
Park.

----- Original Message ----- 
From: "Erwin Authried" <eauth at softsys.co.at>
To: <uclinux-dev at uclinux.org>
Sent: Monday, August 12, 2002 6:50 PM
Subject: Re: [uClinux-dev] question in arch/armnommu/boot/compressed/Makefile


libgcc contains support functions for gcc, e.g. for arithmetic
operations. The compressed loader that you mentioned is so simple that
it's probably not required at all. In the case of the kernel image, it
is required. You should leave it as it is, if libgcc is not required it
doesn't hurt anyway.

Regards,
Erwin

Am Mon, 2002-08-12 um 06.59 schrieb Y.H. Park:
> Hi all,
> 
> I've been studying the Makefiles of the uClinux distribution.
> I've found the -lgcc($LIBGCC) options enabled when the 'vmlinux' is being made
> it's like below.
> 
> vmlinux:        $(HEAD) $(OBJS) piggy.o vmlinux.lds
>                 $(LD) $(ZLDFLAGS) $(HEAD) $(OBJS) piggy.o $(LIBGCC) -o vmlinux 
> 
> 
> I don't know why -lgcc option is added to the ld options and why the kernel image needs  libgcc.a .
> 
> Thanks.
> Park.
> 
> This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
> 


This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/

This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list