compile error on solaris 8 and 2.6

Michael Chastain mec.gnu@mindspring.com
Wed Oct 20 20:26:00 GMT 2004


Joel Brobecker <brobecker@gnat.com> wrote:
> Why CPPFLAGS, though, and not CFLAGS?

CPPFLAGS is canonical for pre-processor flags, because sometimes
a file must be pre-processed but not compiled, or pre-processed
separately from being compiled.

CFLAGS might work.  I just haven't tried it.

> What he could try is
>
>         % make CFLAGS="..." MAKE='make CFLAGS="..."'

That is different than what I tried, so it might work better.

Michael



More information about the Gdb mailing list