Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Need Help Finding A Working Compiler. (http://www.programmingforums.org/showthread.php?t=1363)

Ghostdog Nov 30th, 2004 7:07 PM

Total newbie here teaching himself C and C++. Unfortunately I have huge problems finding a compiler, I've been to all the sites with lists of free compilers and absoloutely nothing works.

I'm on an OSX mac and it does have some kind of 'project builder' prpgram written for developers that claims to be able to compile C and C++ but its utter nonsense. So if anyone could point me towards a working, mac-compatiable C/C++ compiler I will be very grateful.

Thanks in advance.

Infinite Recursion Nov 30th, 2004 8:40 PM

Isn't GCC available in OS X ?

Ooble Dec 1st, 2004 12:36 PM

I believe it's installed by default.

Infinite Recursion Dec 1st, 2004 4:20 PM

Ghostdog try:

gcc ./yourprog.cpp
resulting file is ./a.out

IF gcc isn't found, try the following to find its path:

which gcc
or
find / -name gcc* -print


All times are GMT -5. The time now is 3:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC