Re: Warning - non-POSIX variable name

2017-08-09 Thread Warren Young
On Aug 9, 2017, at 11:39 AM, Eric Blake wrote: > > Why not just: > > ./configure CC="$PWD/../../llvm-arm-toolchain-ship/3.8/bin/clang" > > which turns your relative name into an absolute one? > > Do you HAVE to have the canonical name? It just makes the log messages nicer to read.

Re: Warning - non-POSIX variable name

2017-08-09 Thread Eric Blake
On 08/09/2017 12:02 PM, Warren Young wrote: > On Aug 9, 2017, at 9:00 AM, Bob Friesenhahn > wrote: >> >> Passing a relative path to CC seems error prone since it only applies to the >> current working directory and will fail as soon as any Makefile recurses. > > Maybe you have a better answer t

Re: Warning - non-POSIX variable name

2017-08-09 Thread Warren Young
On Aug 9, 2017, at 9:00 AM, Bob Friesenhahn wrote: > > Passing a relative path to CC seems error prone since it only applies to the > current working directory and will fail as soon as any Makefile recurses. Maybe you have a better answer to this related question: is there a portable alternat

Re: Warning - non-POSIX variable name

2017-08-09 Thread Bob Friesenhahn
On Tue, 8 Aug 2017, Warren Young wrote: On Aug 7, 2017, at 11:39 PM, Dharmil Shah wrote: I followed your suggestions and hence I am able to compile my package using the llvm compiler. I hope you chose option 3. On re-reading that email, I think option 2 is wrong, or at least, it isn’t what

Re: Warning - non-POSIX variable name

2017-08-08 Thread Warren Young
On Aug 7, 2017, at 11:39 PM, Dharmil Shah wrote: > > I followed your suggestions and hence I am able to compile my package using > the llvm compiler. I hope you chose option 3. On re-reading that email, I think option 2 is wrong, or at least, it isn’t what I meant to write: $ ./configure

Re: Warning - non-POSIX variable name

2017-08-07 Thread Dharmil Shah
Warren, I followed your suggestions and hence I am able to compile my package using the llvm compiler. Thanks! Dharmil -- View this message in context: http://gnu-automake.7480.n7.nabble.com/Warning-non-POSIX-variable-name-tp22506p22510.html Sent from the Gnu - Automake - General mailing lis

Re: Warning - non-POSIX variable name

2017-08-07 Thread Warren Young
On Aug 7, 2017, at 5:17 AM, Dharmil Shah wrote: > > I did something like this: > > CC=${CC - /../../llvm-arm-toolchain-ship/3.8/bin/clang} I don’t know that syntax, and due to its form, I’ve failed to Google up a reference to it, so I don’t know what exactly it is you’re trying to accomplish.