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

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

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


From: Weddington, Eric
Subject: RE: [avr-gcc-list] Re: build srecord under mingw [SOLVED]
Date: Mon, 30 Mar 2009 23:28:53 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Gene Smith
> Sent: Monday, March 30, 2009 9:44 PM
> To: address@hidden
> Subject: [avr-gcc-list] Re: build srecord under mingw [SOLVED]
> 
> 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).

For version 1.47 of SRecord, look at the Makefile.in file in the top level. 
Lines 54-57 state:
#
# The compiler flags to use
#
CXXFLAGS = @CXXFLAGS@

Lines 59-62 state:
#
# The preprocessor flags to use
#
CPPFLAGS = @CPPFLAGS@

So, yes, CXXFLAGS is correct.

Yes, it does work for me. It built and at least it correctly reports the 
version, which is as far as I've gotten. Obviously the include patch is 
specific to my machine.

Eric Weddington




reply via email to

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