Ahh, it seems as very much didn't understand. The Namespace.make sets
HOSTCC to gcc for prepare, but then during compile, the path starts with
that wrapper/real folder and on the command line you see just gcc. If I run
gcc --version I get the correct 4.8.

I also spaced and didn't realize that the symlinks in wrapper/real were
relative for cc and c++ so they all point to the 4.8 versions
...
lrwxrwxrwx 1 apatterson apatterson  3 Oct 27 08:20 c++ -> g++
lrwxrwxrwx 1 apatterson apatterson  3 Oct 27 08:20 cc -> gcc
lrwxrwxrwx 1 apatterson apatterson 16 Oct 27 08:20 cpp -> /usr/bin/cpp-4.8
lrwxrwxrwx 1 apatterson apatterson 16 Oct 27 08:20 g++ -> /usr/bin/g++-4.8
lrwxrwxrwx 1 apatterson apatterson 16 Oct 27 08:20 gcc -> /usr/bin/gcc-4.8

I think the console output compile command starting with gcc without the
4.8 confused me, but it was using the path and symlinks to get to the
correct one.

Thanks,
Sandy Patterson
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to