avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Re: build srecord under mingw [SOLVED]


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 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).







reply via email to

[Prev in Thread] Current Thread [Next in Thread]