This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Puzzle:where does gcc_cv_as come from?
- From: Ian Lance Taylor <iant at google dot com>
- To: "Amker.Cheng" <amker dot cheng at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 02 Mar 2009 23:43:14 -0800
- Subject: Re: Puzzle:where does gcc_cv_as come from?
- References: <e8b251c80903022321w1ce23daalc57294bec40a7177@mail.gmail.com>
"Amker.Cheng" <amker.cheng@gmail.com> writes:
> if test "${gcc_cv_as+set}" = set; then
> :
> else
> #other commands...
> fi
Note that the other commands set gcc_cv_as.
> I don't know much about configure process, So where does gcc_cv_as come from?
The first time you run configure, it is not set, and the "other
commands" are run. The second time, it comes from the config.cache
file.
Ian