On 4/11/06, Jared Greenwald <greenwaldjared@xxxxxxxxx> wrote: > I'm thinking more along the lines of the warning levels and optimizations... Don't top-post, please. But why should your user space application care at all about what warning level or optimization the kernel was compiled with? Thanks, Nish > On 4/11/06, Arun Srinivasan <arunlkml@xxxxxxxxx> wrote: > > > > > > > > On 4/11/06, Jared Greenwald <greenwaldjared@xxxxxxxxx> wrote: > > > Another Makefile question... > > > > > > Is there a way to easily grab the CFLAGS from the kernel Makefile to > > > use in a user space application? The obvious would be to copy-paste, > > > but that would ignore all of the logic in the kernel Makefile that I > > > want to preserve. > > > > > > But why would you want to use the kernel-specific defines for a user space > > program ? If you need to use kernel headers , you can directly define them > > in your Makefile. > > > > rgds > > Arun > > > > > > -- > > "There are 10 people in the world - those who understand binary and those > > who dont !" > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/