I've just started a job where I'm programming in C on a Mac, which is my first experience using a Mac for development. For now I'm using Xcode as my editor, then using make/gcc/svn at the command line for compiling and source control.
Is there a good, full featured IDE out there for Macs that will compile C code (something comparable to VS would be ideal), or should I stick with these low level tools?
EDIT: so I called Xcode a 'low level tool' because I was under the impression that it was just a text editor for code, like gvim. I will definitely look into it's compiling/source control features.
idmeanNon-free C++ Compilers and IDE's Code Forge Professional Integrated Development Environment for Unix/Linux with project management features and edit/compile/debug support for over 30 programming languages.
closed as off-topic by legoscia, showdev, QuinnG, Linger, hexacyanideOct 23 '13 at 19:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – legoscia, showdev, QuinnG, Linger, hexacyanide
7 Answers
FrankFrankC Compiler For Mac Os
textmate - Download from Macromates website.
The latest version is textmate2 but some people choose to keep using textmate-1.5 because there are significant differences between the two versions and they're both awesome.
davidcondreyI just stumbled over Qt Creator. It seems to hold up really nice where every other IDE failed me when working with a plain Makefile project.
XCode, Eclipse, IntelliJ or Netbeans wouldn't resolve dependencies, or load my project in a good way. In Qt Creator I could just point to New Project » Import Project » Import Existing Project and voila!
neu242neu242Remember that Objective-C is a superset of C (a pretty pure one, if I recall correctly). You should be able to use XCode for editing, compiling, and debugging.
Here's one solution (which tells you to create a C++ project, then rename main.cpp to main.c)... http://www.cs.nyu.edu/~s70201/C_In_Xcode/Xcode_Tutorial.html
NosrednaNosrednaXcode can manage project and compile for you as any IDE. But if you're familiar with CLI, I would recommand you to use a good editor and your usual build tools. Emacs and vim are available on os x (using xcode just for its editor is not ideal). Many mac dev love the excellent TextMate editor, but it is not a free (as in freedom) software.
FrankObviously 'good' is a subjective decision, but Xcode 3.2 is certainly up to par with what you can do in VisualStudio (if one considers VS good, is another thing of course).
I have a project with 250000+ lines of codes, 10 dylibs, helpfile, all in an SVN (Perforce) etc. and hardly ever go outside Xcode.
Xcode has a few peculiar ways to do some things and the debugger is not quite as powerful as the current one in VisualStudio, but overall there's hardly anything you can not do from within the IDE (and the options to adjust the shortcuts within the IDE, Debugger and Editor to your needs are really awesome).
gcampNot the answer you're looking for? Browse other questions tagged cmacoside or ask your own question.
EditRocket, a Text and Source Code Editor with support for over 20 programming languages, includes a powerful Objective-C editor and IDE that strives to make Objective-C development quick and easy.
The Objective-C editor included in EditRocket includes many tools and features to aid in Objective-C development. See below for information on the Objective-C specific tools offered by EditRocket.
See the General Highlights section at the bottom of the page for more of what EditRocket has to offer.
Objective-C Compiler and Program Executer
On Mac OS X, EditRocket can compile and execute Objective-C programs. EditRocket uses the gcc compiler to compile Objective-C programs. The gcc compiler is included in the optional installs section on the Mac OS X System DVD. After installing gcc, EditRocket can be used to quickly compile Objective-C programs with the click of a button.
EditRocket also can execute and display program output for Objective-C programs. Simply select the Execute Program option in the Objective-C tools menu or use the Objective-C sidekick for one-click program execution.
Objective-C Method Navigator
Jump from method to method quickly with the Objective-C Method Navigator. The navigator parses the editor contents for Objective-C methods and displays them in a clickable list. Clicking an option from the list takes the user directly to the point in the editor where the method is defined.
Objective-C Sidekick
Code Objective-C more efficiently with the the Objective-C Sidekick. The sidekick gives users the ability to quickly enter many common Objective-C constructs into the text editor with the click of a button, or via customizable keyboard shortcuts. Some examples of sidekick options are control statements such as do while, if, else, for, while, etc. The Objective-C sidekick also includes a tab for the Objective-C Method Navigator to allow users to jump to a method in the current editor with the click of a button.
General Highlights
Free C Compilers For Windows
Text Editor | Coding Tools |
Macros, coding inserts, plugins, syntax highlighting, and more. | Sidekicks, code builders, function navigators, program execution, and more. |
Web Development Tools | Validators |
CSS style builder, HTML tag builder, tag navigators, and much more. | XML, HTML, and CSS validators |
Search Tools | Auto Completion and Lookup |
Regular expression capable find and replace, find / replace in files across the entire file system and more. | Auto code completion, tag completion, and lookup for many programming languages. |
File System Browser | File Compare |
Browse files and directories, perform file operations, and more. | Compares files similar to the Unix diff command. |
FTP and SFTP Client | |
Connect to SFTP and FTP servers. Browse, upload, download, rename, and delete files and directories and much more. |
Additional Features
Free C Compiler For Mac
- Syntax highlighting for over 20 programming languages
- The programming editor behind RazorSQL, a popular database query tool, since 2004
- File tools such as head, tail, regular expression search, move, copy, and delete
- Customizable and pre-defined code templates
- Works with all major operating systems including Windows, Mac OS X, macOS, Linux, and Solaris.