On Wed, Nov 23, 2005 at 09:02:46AM +0100, Jan Hudec wrote: > On Wed, Nov 23, 2005 at 08:21:55 +0200, MHD.Tayseer wrote: >... > > well there is another thing must be changed .. the kernel Makefile is > > written for gcc and the compilation options are written for gcc .. so i > > have another step to look for it is the mapping between gcc flags and my > > compiler flags .. the build process depends on a hirarichy Makefiles .. > > it's hard to check all makefiles in all the hirarichy checking for gcc > > options used to compile the kernel .. are they documented anywhere or is > > there any way to them (before-when-after) kernel compilation > > I don't know about any documentation unfotunately. But all the compiler > options and stuff is located in the top-level Makefile, Rules.make and > one Makefile for each platform. All the others just use ready-made > compilation commands. That's not true, every single Makefile in the kernel can add compiler flags for the compilation in this subdirectory. Examples are e.g. drivers/input/joystick/iforce/Makefile adding -Werror-implicit-function-declaration or drivers/acpi/Makefile adding -Os. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/