Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hi,
I'm intending to install Qt in my RH Linux 8 desktop.
However, I'm not sure if there is already a C++ compiler in RH Linux 8?
Where can I find that?
Hmm.. stick the Red Hat install CD's in and run the redhat-config-packages program. Install the development tools and you'll have the g++ compiler. When you say installing Qt will give you a compiler similar to Visual C++, do you mean an IDE similar to Visual C++??
hey all,
just write a c/c++ code in your fav. editor (mine is vi/vim) and save the file and go to that file from command file by changing the dir. then type gcc filename.c outputfilename press enter
by the output on the command promt u will find that u have a compiler or not . or do one thing type
# find / -name gc*.*
here if u find gcc then u will have the compiler
dhanraj sheth
linuxdhanraj.tripod.com
Originally posted by sceadu Hi,
I cannot find the g++ compiler.
Ok, I admit I more familiar with MS windows.
By installing Qt, I can get a c++ compiler quite similar to MS Visual C++?
Qt is not a compiler. It's a library. With the library comes QT Designer, a programs that allows to make GUI for your program easily (you just draw it) and make the code from it. But to compile your program, you'll need gcc/g++. It's command line compiler.
There are also graphical IDEs (they use gcc/g++). Examples: Anjuta, KDevelop. They should be both on your installation cds.
kdevelop is an Integrated Development Environment which means that is is a program that will call the editor, g++, run your test, call the debugger etc.
non gui compiler is gcc. You can learn a lot out of it's man pages <man gcc>. You have to specify for which C language you are compiling, BUT if you name your files well, it will know. Ie. "file.c" it knows that it is a regullar C. Let me remember the extension of C++.
ehm :-)
I believe it might be this one:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.