Daniel Zoltak wrote:
I am fairly new to fink and OSX so please excuse my ignorance.

I did discover when I 'sudo gcc_select 3.3' my problem went away.

Is there a way to compile fink using gcc 4? or do I just stick with gcc
3.3 for my app?

As Dave V. has explained in the precursor of this thread, Fink in its present 10.4-transitional incarnation compiles using both gcc-4.0 and c++-3.3. The future 10.4 distribution will use 4.0 also for the C++ compiler, but this is a nontrivial transition and there are still many packages that don't compile with c++-4.0. One cannot mix libraries compiled with different versions of C++, as you have observed.

There will be some fun along these lines anyway, because all of MacOSX is compiled with gcc-3.3 and there are a few libraries compiled with c++-3.3, like libGLU from X11 and a couple of frameworks, that will not work with the Fink 10.4 tree nor with your own code if you use c++-4.0.

--
Martin




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to