This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: compile error on solaris 8 and 2.6
> 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