Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Free compilers/debuggers?

Free compilers/debuggers?
Thread Tools
MoBius
Junior Member
Join Date: Nov 2000
Location: Richmond, VA.
Status: Offline
Reply With Quote
Oct 2, 2003, 02:32 AM
 
Are their any free compilers or debuggers that will let my programs swing to Windows and Unix based stuff? I just need to do generic programming for class the usual have them enter 2 numbers and the computer add them and stuff. Just so i can program then upload to the system after.

Thanks
     
Diggory Laycock
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Oct 2, 2003, 05:57 AM
 
Yes - If you install the Developer Tools you Get GCC - The GNU C Compiler and GDB - The GNU Debugger.
     
juanpacolopez
Dedicated MacNNer
Join Date: May 2003
Location: Atlanta, GA
Status: Offline
Reply With Quote
Oct 2, 2003, 11:05 AM
 
Originally posted by Diggory Laycock:
Yes - If you install the Developer Tools you Get GCC - The GNU C Compiler and GDB - The GNU Debugger.
Yep... Apple Dev. Tools are about the best "free" development kit out there.

As long as you stick to straight ANSI C and use only the standard (non Cocoa/AppKit) headers and libs, you should be just fine to compile it on (almost) any other machine w/ GCC.
Alex

G7 Software: home Tetrinet Aqua
-----
"Utopia" 1Ghz TiBook SuperDrive w/ 1Gb RAM.
     
Catfish_Man
Mac Elite
Join Date: Aug 2001
Status: Offline
Reply With Quote
Oct 2, 2003, 08:29 PM
 
Java would probably be easier. Then you don't even have to worry about compiler switches.
     
Kibon
Fresh-Faced Recruit
Join Date: Sep 2003
Location: Canada
Status: Offline
Reply With Quote
Oct 18, 2003, 04:25 PM
 
Originally posted by MoBius:
Are their any free compilers or debuggers that will let my programs swing to Windows and Unix based stuff? I just need to do generic programming for class the usual have them enter 2 numbers and the computer add them and stuff. Just so i can program then upload to the system after.

Thanks
If you are considering doing any of this in Java, I would recommend checking out http://www.netbeans.org/.

Bear in mind that I'm currently at the very beginning of learning to program, so I haven't attempted to use Netbeans for anything remotely complicated just yet.
     
thuhFreak
Fresh-Faced Recruit
Join Date: Jun 2002
Status: Offline
Reply With Quote
Oct 20, 2003, 04:45 PM
 
GCC, as mentioned earlier, comes with mac os x (and is a no-cost download from apple's developer site). there are versions made for virtually every platform available, including Unices and Windows (of course, these versions aren't available from apple, but instead from the source).

if your program is that simple (take two numbers, add em and spit the result), you may want to use a scripting language instead, like perl or even a shell, like bash. Perl is available for all kinds of platforms, and bash is too.
dont phear if ya hear a fourin soun' to ur ear. iss al'ight mah.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:37 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,