question in arch/arm/boot/compressed/Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I've been studying the Makefiles of the linux kernel(2.4.16).
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.






wiy!^Wvmdzޗ+r{mfXzޖwn'PmzY+

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux