Weddington, Eric wrote, On 03/30/2009 11:20 AM:
So if I just unpack the boost tarball and point gcc to headers at
-I/c/boost_1_38_0 in the srecord makefile the latest
srecord seems to build
OK in msys and runs.
Ok, so I can build srecord 1.47 if I set CXXFLAGS in my script before
configuration, like so:
CXXFLAGS=-I/c/avrdev/boost/boost_1_38_0 \
./configure \
--prefix=$installdir \
--infodir=$installdir/info \
--mandir=$installdir/man \
2>&1 | tee $package-configure.log
Thanks for all your help! :-)
Eric
Needs to say
CPPFLAGS=-I/c/avrdev/boost/boost_1_38_0 \
:
I don't think CXXFLAGS works to tell configure the include path. If you
use CPPFLAGS instead of CXXFLAGS it does work and configure finds the
boost headers OK. With CPPFLAGS I don't have to put boost headers in a
specific location or edit the Makefile (configure builds a correct and
usable Makefile).
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list