[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question in arch/arm/boot/compressed/Makefile
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.
zޖwn'iy!^Wvmdzޔ
܆+ކiY)ƊGg{zmzY