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

2009-03-31 Thread Weddington, Eric
 

 -Original Message-
 From: 
 avr-gcc-list-bounces+eric.weddington=atmel@nongnu.org 
 [mailto:avr-gcc-list-bounces+eric.weddington=atmel@nongnu.
 org] On Behalf Of Gene Smith
 Sent: Tuesday, March 31, 2009 7:17 AM
 To: avr-gcc-list@nongnu.org
 Subject: [avr-gcc-list] Re: build srecord under mingw [SOLVED]
 
 Sorry, I was wrong (again). Defining -I option in just CXXFLAGS does 
 work. You just get a warning with ./configure but the 
 Makefile looks OK 
 and srecord builds.  However, if you define -I in CPPFLAGS you get an 
 error-free ./configure and it builds OK too.

That's weird. Sounds like it needs to be reported to Peter Miller.


___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


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

2009-03-31 Thread Joerg Wunsch
Weddington, Eric eric.wedding...@atmel.com wrote:

 That's weird. Sounds like it needs to be reported to Peter Miller.

Nope, that's pretty normal for autoconf-generated Makefiles.  The
standard way for -I is to go into CPPFLAGS.  However, if you put it
(only) into CXXFLAGS or CFLAGS (depending on the language used), it
will eventually compile anyway but lead to a configure warning that
compiler and preprocessor disagree about the usability of a certain
header file.

-- 
cheers, Jorg   .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


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

2009-03-31 Thread Weddington, Eric
 

 -Original Message-
 From: 
 avr-gcc-list-bounces+eric.weddington=atmel@nongnu.org 
 [mailto:avr-gcc-list-bounces+eric.weddington=atmel@nongnu.
 org] On Behalf Of Joerg Wunsch
 Sent: Tuesday, March 31, 2009 12:10 PM
 To: avr-gcc-list@nongnu.org
 Subject: Re: [avr-gcc-list] Re: build srecord under mingw [SOLVED]
 
 Weddington, Eric eric.wedding...@atmel.com wrote:
 
  That's weird. Sounds like it needs to be reported to Peter Miller.
 
 Nope, that's pretty normal for autoconf-generated Makefiles.  The
 standard way for -I is to go into CPPFLAGS.  However, if you put it
 (only) into CXXFLAGS or CFLAGS (depending on the language used), it
 will eventually compile anyway but lead to a configure warning that
 compiler and preprocessor disagree about the usability of a certain
 header file.

Ah, ok, thanks for the explanation. CPPFLAGS it is, then.


___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


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

2009-03-30 Thread Joerg Wunsch
Weddington, Eric eric.wedding...@atmel.com wrote:

 For version 1.47 of SRecord, look at the Makefile.in file in the top
 level. Lines 54-57 state:

Both, CFLAGS and CXXFLAGS in autoconf-generated Makefiles should
include CPPFLAGS.  This is done outside Makefile.am.

The point is that any non-standard -I options in general ought to go
into CPPFLAGS, and any non-standard -L options inot LDFLAGS.  I'm
using that e.g. in situations where autoconf stuff has to look out for
libusb in non-standard places.

-- 
cheers, Jorg   .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list