compile error on solaris 8 and 2.6

Joel Brobecker brobecker@gnat.com
Wed Oct 20 20:11:00 GMT 2004


> I tried this on native alphaev68-dec-osf5.1 with gdb 6.2.1:
> 
>     CPPFLAGS="-I$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/include"
>     export CPPFLAGS
>     LDFLAGS="-L$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/lib"
>     export LDFLAGS
> 
> It didn't work, though.  The CPPFLAGS/LDFLAGS did not propagate
> all the way down.  I haven't looked further than that.

Aha, that's what I remembered. Why CPPFLAGS, though, and not CFLAGS?
What he could try is

        % make CFLAGS="..." MAKE='make CFLAGS="..."'

or replace CFLAGS by CPPFLAGS if that's the appropriate variable
to set. That should take care of the propagation. (sorry Michael,
I must have missed your message explaining the problem about
propagation).

Maybe that would work?

-- 
Joel



More information about the Gdb mailing list