On Fri, May 18, 2001 at 04:42:37PM -0700, Steven Liu wrote: > I have a question regarding MIPS Makefile. > > In the Makefile of the Linux build directory, there are two Macros of C > compiler flags: HOSTCFLAGS and CFLAGS. > > What are their purpose and difference? In another words, what is host gcc? > Why do we use host gcc in building the target kernel? During the build process of the kernel some tools like scripts/mkdep and others are built which are running on the compile machine, not the target machine. The variable HOSTCFLAGS takes some extra compiler options to be passed for such compilations. Ralf