On Sat, Jun 01, 2013 at 08:53:17AM +0200, Dominique Dhumieres wrote: > Jack, > > Before entering how the different gcc are installed on my system, > let me say that the following change allowed me to update gcc48 > > [karma] /Users/dominiq% diff /sw/var/lib/fink/path-prefix-g++-4.0/g++~ > /sw/var/lib/fink/path-prefix-g++-4.0/g++ > 5c5 > < exec g++-4.0 "$@" > --- > > exec g++-4.2 "$@" > > So IMO the question is what the use of /sw/var/lib/fink/path-prefix-g++-4.0? > > For my setup the default gcc/g++ is > gcc version 4.9.0 20130426 (experimental) [trunk revision 198347] (GCC) > and /usr/bin/gcc(g++) > gcc version 4.2.1 (Apple Inc. build 5577) > > Thanks for the quick answer, > > Dominique
Dominique, It appears that 10.5 is unique in that it only has g++/c++ compiler wrappers in /sw/var/lib/fink/path-prefix-g++-4.0... lrwxr-xr-x 1 root admin 3 May 17 23:50 c++ -> g++ -rwxr-xr-x 1 root admin 138 May 17 23:50 g++ which is why configure is finding /usr/bin/gcc only on 10.5 fink. You could try... cd /sw/var/lib/fink/path-prefix-g++-4.0 cp g++ gcc perl -pe -i 's|g++|gcc|g' gcc ln -s gcc cc and see if this solves your problem when the system gcc and g++ symlinks are set to gcc-4.2 and g++-4.2. Jack ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users