From: Craig H. <cr...@hu...> - 2005-02-15 18:00:44
|
On Feb 15, 2005, at 5:36 AM, Dave Hylands wrote: > HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer > -idirafter "`$(CC) -print-file-name=include`/../../../../../include/" > > Unfortunately, if you're starting from scratch, buildroot needs to > build the config in order to build the toolchain, but it would now > appear that the config now needs the toolchain. Catch-22. No -- that $(CC) is host CC, not cross CC. You definitely need to have a host compiler set up before you get underway with the buildroot. This is fine, and is there because OSX's gcc doesn't include the right include directories by default or something. > I also ran into what appears to be a typo in the linux.mk file. There > is a reference to linux-depmod.patchi, which I assume is supposed to > be linux-depmod.patch (without the trailing i. Stupid vi, requiring you to type printable characters to switch modes.... I'll fix that -- could well be why things haven't been working for folks compiling on machines which don't have mod-utils 2.6+ installed. C |