Hi,

I am trying to install gcc43 using fink on my Mac OS 10.5.4, 
because I need  to use the library "strndup", 
which is not available in Mac.

After a successful installation (at least I think so), 
I check the status of this package and it shows:
bash-3.2$ fink list -i gcc
Information about 4400 packages read in 1 seconds.
 i   gcc3.3                          3.3-1823                [virtual package 
representing the gcc 3.3 compiler]
 i   gcc4.0                          4.0.1-5493              [virtual package 
representing the gcc 4.0.1 compiler]
 i   gcc4.2                          4.2.1-5574              [virtual package 
representing the gcc 4.2.1 compiler]
 i   gcc43                           4.3.1-1000              GNU Compiler 
Collection Version 4.3
 i   gcc43-shlibs                    4.3.1-1000              Shared libraries 
for gcc4


This means that gcc43 has been successfully installed, right???

But if I want to run gcc43, it says:
bash-3.2$ gcc43
bash: gcc43: command not found


Why is the command not found? 
I have set up the path by adding ". /sw/bin/init.sh" to my .profile file. 
That is why I can run "fink" command. 
What's wrong and/or what else I need to do? 
Please help! I really need to compile my c scripts for work!!!

Thanks a million!

Jack


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to