about compiler

cathyzh68
cathyzh68 used Ask the Experts™
on
Sometimes I hear that somebody wants to get compiler on his machine. Can we install compiler on our PC seperately rather than installing whole software like Borland C++?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Yes but it depends on the product you choose.
Most products have the compiler (except the languages that use only interpeters) and an IDE (Intergrated Development Environment) for working with big projects, editing files, syntax coloring, help etc etc.
There are some products (some of them are also freeware, take a look at www.gnu.org) that have no IDE, or IDE is a seperate (3rd party tools).
If we are talking about C/C++ most compilers have a command line compiler and a linker utility and you can use them to compile files. You will also need a make utility to build projects that include many files.
Instead of the IDE's code editor you can use an simple text editor program (e.g. notepad).

The problem is why you need that? If your disk is full and you want to develope programs in C++ for windows you will need many things (online help for Windows API, examples, libraries etc) that take much more space compared to the IDE executables. So in that case just buy on more disk. If you need it for very small projects, you can try to find those tools in the product you already have, but you will waste some time and you will also loose the benefits of most IDEs "productivity".
Installing a compiler separately from the development environment can turn out to be a chore greater than searching for the Holy Grail itself.  A compiler is useful, but the linker, environment varibles, header files, associations, etc are all things that need to be worried about when trying to extract a compiler from the IDE.  Some packages like what AccessDenied showed take care of this for you during installation, so that's nice, but to extract a compiler from an IDE is no simple chore.

Commented:
Sure. What have you in mind? There are an abundance of compilers around to suit various budgets. You get what you pay for (less). If you want good stuff, but smaller, less Windows.net or whatever, Borland used to segregate it Turbo products to suit such needs. I dunno their current status, but perhaps your needs can be more suited to older versions of Turbo, which at one time was the #1 compiler in use.

If you run freewares, such as linux, you can get free compilers. The more free it is, of course, the less you get familiar IDE (as said above), but as I understand question, you are not interested in that aspect.

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points for AccessDenied

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Venabili
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial