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

Re: Includes vs. headers in libc-dev package



Bruce Perens:
 > OK - I'll take libc off of your hands.

I think David Engel made the right choice with regard to libc headers.

Note that older kernel versions can be made to compile with a one line
change to the linux/Makefile.  Here's how the current kernels handle
this issue:


TOPDIR	:= $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)

HPATH   	= $(TOPDIR)/include

HOSTCC  	=gcc -I$(HPATH)



The older mechanism with /usr/src/linux -> .something ->
.somethingelse is far more likely to wind up confusing people and
breaking things.

-- 
Raul


Reply to: