Gale Paeper wrote:
In looking over all the compile commands output, it doesn't look like the "CC=/Developer/Pascal/gpc412d1/bin/gcc" parameter ends up forcing that gcc to be used for all the compiling in building xgcc and xgpc. For the boatload of compile commands, there doesn't seem to be any rhyme or reason as to which C compiler is used. Sometimes, it is:
gcc -c ...
other times, it is:
/Developer/Pascal/gpc412d1/bin/gcc -c ...
What if you do something like this
sudo mv /usr/bin/gcc /usr/bin/gcc-apple sudo ln -sf /Developer/Pascal/gpc412d1/bin/gcc /usr/bin/gcc
.. cross-compile build ..
sudo rm /usr/bin/gcc sudo mv /usr/bin/gcc-apple /usr/bin/gcc
Regards,
Adriaan van Os