Re: CXXFLAGS and linking

2003-01-24 Thread Alexandre Duret-Lutz
William == William S Fulton [EMAIL PROTECTED] writes: William I see that CXXFLAGS and AM_CXXFLAGS gets passed to the linker William ($CXXLINK). CXXLINK calls the compiler, so we ought to pass these flags as they may affect the way the compiler calls the linker in the end. For instance the

Re: CXXFLAGS and linking

2003-01-24 Thread Braden McDaniel
On Fri, 2003-01-24 at 03:47, Alexandre Duret-Lutz wrote: William == William S Fulton [EMAIL PROTECTED] writes: William I see that CXXFLAGS and AM_CXXFLAGS gets passed to the linker William ($CXXLINK). CXXLINK calls the compiler, so we ought to pass these flags as they may affect the

Re: CXXFLAGS and linking

2003-01-24 Thread Braden McDaniel
Quoting Alexandre Duret-Lutz [EMAIL PROTECTED]: Braden == Braden McDaniel [EMAIL PROTECTED] writes: Braden GNU make doesn't agree. I hear you, but that no reason: Automake follows the GNU Coding Standards in this case. I've reviewed 7.2 in the GNU Coding Standards, and it's not clear

Re: CXXFLAGS and linking

2003-01-24 Thread Alexandre Duret-Lutz
Braden == Braden McDaniel [EMAIL PROTECTED] writes: Braden GNU make doesn't agree. I hear you, but that no reason: Automake follows the GNU Coding Standards in this case. -- Alexandre Duret-Lutz

Re: CXXFLAGS and linking

2003-01-24 Thread Alexandre Duret-Lutz
Braden == Braden McDaniel [EMAIL PROTECTED] writes: [...] Braden I've reviewed 7.2 in the GNU Coding Standards, and it's Braden not clear to me what you're referring to. Where exactly Braden should I be looking? The following sentence in the `Variables for Specifying Commands' section

Re: CXXFLAGS and linking

2003-01-24 Thread Guido Draheim
Braden McDaniel schrieb: Quoting Alexandre Duret-Lutz [EMAIL PROTECTED]: Braden == Braden McDaniel [EMAIL PROTECTED] writes: [...] Braden I've reviewed 7.2 in the GNU Coding Standards, and it's Braden not clear to me what you're referring to. Where exactly Braden should I be looking? The

Re: CXXFLAGS and linking

2003-01-24 Thread William S Fulton
Alexandre Duret-Lutz wrote: William This doesn't seem correct as the C++ flags aren't William necessarily appropriate for linking. The example you sent to Guido uses `AM_CXXFLAGS = -DSOMETHING'. I wouldn't expect this to cause any trouble during linking. Does it? (If so you should probably