Multiple Versions of gcc with fink
Ian Lance Taylor
iant@google.com
Wed Feb 11 15:45:00 GMT 2009
Maximilian Nesnidal <nesnidal@gmail.com> writes:
> to compile a Program i needed to update gcc to 4.2.3.
>
> There are 2 gcc in "Macintosh HD/usr/bin" gcc version 4.0.1 (Apple
> Inc. build 5490) and gcc version 4.2.1 (Apple Inc. build 5566) and
> for compiling the 4.0.1 is used.
> So i decided to use fink for a 4.2.3 update.
> But still 4.0.1.
> So i used fink to install 4.3.3.
> Now i found the 4.3.3 version in "Macintosh HD/sw/bin" gcc-Version
> 4.3.3 (GCC).
> But when i use the Terminal with gcc -v it is still gcc version 4.0.1
> (Apple Inc. build 5490).
>
> What am i doing wrong?
> Which Files from /sw/bin should i copy to /usr/bin/ ??
This might be better directed to a OS X help group rather than to the
gcc help group. It doesn't seem to have much to do with gcc as such.
We do not handle fink or the Apple specific gcc distributions.
If I were doing this I think I would just set PATH to point to /sw/bin
before /usr/bin.
Ian
More information about the Gcc-help
mailing list