LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accessing Development tools (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-development-tools-72691/)

Flak Pyro 07-14-2003 04:14 PM

Accessing Development tools
 
Hello all

I have Red Hat 8 and my brother is interesting in using the provided c++ programs, once he installs them using the add/remove programs freature how does he find or access them? They dont appear on the Gnome menu anywhere i can see. Thanks

Mara 07-14-2003 04:38 PM

Do you mean the compiler? it's available from console using 'gcc' (for C programs) or g++ (for C++) programs. Your brother may also look at integrated development tools (with frontends for compiler, debugger and so on) like Anjuta, Kdevelop.

Flak Pyro 07-14-2003 04:44 PM

that is after you install GCC and the other development tools correect? Where can i get K-Develop? I am new to linux and told him i got it, and he wanted to try out some commands with it.

Mara 07-14-2003 04:50 PM

Yes, after they're installed. The packages you need are: gcc, maybe kdevelop or anjuta. All programs I mentioned are on your installation cds.

Flak Pyro 07-14-2003 04:51 PM

Ok thanks a bunch =)

Mara 07-14-2003 04:53 PM

No problem :)

Flak Pyro 07-14-2003 05:19 PM

when we try and use g++ in the terminal window we get

g++: no input files

Proud 07-15-2003 02:28 PM

It's just a compiler. You write the text code, save it as files, and compile it. You seem to be wanting a nice gui IDE. Try KDevelop or others suggested, or search online.

Mara 07-15-2003 02:37 PM

Quote:

Originally posted by Flak Pyro
when we try and use g++ in the terminal window we get

g++: no input files

It's installed. Good. What you need is a C++ code (file with code). Type it into an editor, save, open a terminal, cd to the directory you have the file in and then use g++ this way:
g++ -o progname filename.cpp
It compiles 'filename.cpp' , executable name is 'progname'. Then you can run it using
./progname


All times are GMT -5. The time now is 06:39 PM.