[Top][All Lists]

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

Re: tag inference broken?

From: Albert Chin
Subject: Re: tag inference broken?
Date: Sat, 6 Dec 2003 08:40:50 -0600
User-agent: Mutt/1.4i

On Sat, Dec 06, 2003 at 10:57:52PM +0900, Peter O'Gorman wrote:
> Okay, I must be stupid, the tag inference goes like this:
> case $base_compile in
> # Blanks in the command may have been stripped by the calling shell,
> # but not from the CC environment variable when configure was run.
> " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
> # Blanks at the start of $base_compile will cause this to fail
> # if we don't check for them as well.
> Now, $CC is allowed to be a program name with arguments (isn't it?), but
> at this point $base_compile only contains the program name "gcc" in my
> case, so when I set CC to (on darwin) "gcc -arch ppc -arch i386" and set
> CXX to "g++ -arch ppc -arch i386" I expected (without having looked at
> the code) tag inference to work. It doesn't of course.

Before the case, what is the output of:
  echo .$CC.

albert chin (address@hidden)

reply via email to

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