ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know if there's a way to get gcc on osx without xcode? Or, is there another free c++ compiler that could be used in place of gcc on osx?
Thanks!
You can try to install Metrowerks, and then build GCC from source, but from what I've come up with on Google, xcode and the Apple built GCC is the best way to go.
you can access gcc and g++ using the terminal in OS X.
Atleast I dont remember installing them if I ever did that.
Also eclipse is free compared to codewarrior.
Well my os x is 10.3.9, so maybe the newer intel ones do not support gcc or g++ by default.
Also I found a lot of the stuff I needed for development in the developer folder.
Its been a very long time since I reinstalled OS X so I cant really say how I got gcc or g++. But currently I can definitely access both of them through the terminal, and I wouldnt live without that facility.
What I have against xcode is that I need to give my name, address, and personal information to sign up for an account just to download a free program. I don't like giving out personal information.
What I have against xcode is that I need to give my name, address, and personal information to sign up for an account just to download a free program. I don't like giving out personal information.
Lie. Use an anonymous Yahoo/Gmail/Foobar email account and a fake name.
Or, again, you don't need to register at all: get it from your installation discs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.