This is the mail archive of the
mailing list for the GCC project.
Interaction between first stage build with g++ and $PATH
- From: Gary Funck <gary at intrepid dot com>
- To: Gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 15 Aug 2012 22:17:18 -0700
- Subject: Interaction between first stage build with g++ and $PATH
1. I have "." on $PATH.
2. In one build of the latest GCC trunk, I specify
CC=/usr/bin/gcc and CXX=/usr/bin/g++ and everything
3. In another build, I don't specify CC or CXX.
Therefore they default to 'gcc' and 'g++'.
g++: error trying to exec 'cc1plus': execvp: No such file or directory
If I remove "." from $PATH then the configuration in 3 will build.
The problem is that there is a g++ executable under the
built gcc directory, but cc1plus and other g++ component
parts haven't been built yet.
I can file a bug reported if necessary, but am wondering
if it is a known requirement not to have "." on $PATH
or to explicitly set CC and CXX?