I may be wrong, but I think you misunderstand what is going on. I think that
XCode allows you to compile code. Fink provides you use other utilities for
different things. If I use g95 Fortran to compile and create an executable
file then I can solve scientific problems. It is up to me to create main
programs, subroutines, etc. Also I will need to create input data and obtain
output data.

In your case you compiled code in main.cpp using gcc-4 to create the
executable program myprogram.

Does this sound correct to you?


On 8/16/10 10:53 AM, "er2020" <[email protected]> wrote:

> 
> This
>    /sw/bin/gcc-4 -o myprogram main.cpp
> is working, which is promising, but how do I set up XCode to switch to this
> compiler?



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to