|
From: | Gene Smith |
Subject: | [avr-gcc-list] Re: build srecord under mingw [SOLVED] |
Date: | Mon, 30 Mar 2009 23:44:04 -0400 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
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 latestsrecord seems to buildOK 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.logThanks 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).
[Prev in Thread] | Current Thread | [Next in Thread] |