On Thu, Mar 20, 2008 at 9:52 AM, Martin Costabel <[EMAIL PROTECTED]> wrote: > > denali $ which gcc > > /sw/bin/gcc > > There is definitely something wrong here. /sw/bin/gcc should *never* > invoke gcc-4.3, even if you have gcc43 installed. In fact, /sw/bin/gcc > does not exist unless you have ccache-default installed, in which case > it is a symlink to /sw/bin/ccache, and the latter redirects it to > /usr/bin/gcc. > > Try "dpkg -S bin/gcc" to see which Fink package installed /sw/bin/gcc on > your machine. I bet you will see ccache-default. Also "ls -l > /sw/bin/gcc" would be interesting. I have no idea how your /sw/bin/gcc > could have become gcc-4.3, unless you did something manually to it yourself.
You are right I used to have ccache-default installed on my system that is why /sw/bin/gcc is pointing to /sw/bin/gcc-4. It is good to know that /usr/bin/gcc should always be used. So I will simply remove this link as dpkg -S /sw/bin/gcc does not show any culprit package. > > Of course I can compile fftw3 if I make sure /usr/bin/gcc is called by > > the command gcc but then what is the point in making fftw3 depending > > on gcc4.3? It is still unclear how to handle this. > > When "gcc" is invoked during package building, what is meant is always > /usr/bin/gcc. If gcc-4.3 is meant, the command would have to be "gcc-4". > The point for fftw3's dependency on gcc43 is not gcc, but gfortran, > which does not come with OSX, but with gcc43. That's clear now. Thanks for everything. Jérôme. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
