openSUSE Forums > Programming/Scripting » where is my gcc

Go Back   openSUSE Forums > Programming/Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read


Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Sep-2009, 17:58
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 9
fengsha hasn't been rated much yet
Default where is my gcc

I installed suse 11.1, and I can't found the gcc for C coding.
When I used YaST, it said that I have installed gcc.

However, I cannot find it. Is the Mono Development environment
for gcc??

Thanks
Reply With Quote
  #2 (permalink)  
Old 23-Sep-2009, 18:16
microchip8's Avatar
Shaman Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 2,199
microchip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the rough
Default Re: where is my gcc

gcc is a terminal compiler, ie it does not have by default an interface and is called from the terminal, mostly by Makefiles. Gcc is located in /usr/bin/gcc and there's also a symlink to it in /usr/bin called 'cc'

you don't code in gcc, you compile code with it

Mono is a open source implementation of C# and .NET and it has its own compiler
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
  #3 (permalink)  
Old 23-Sep-2009, 18:20
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 9
fengsha hasn't been rated much yet
Default Re: where is my gcc

Thanks you very much.
Since I am totally new for Linux, I am learning it.
Reply With Quote
  #4 (permalink)  
Old 24-Sep-2009, 03:09
platinum
Guest
 
Posts: n/a
Default Re: where is my gcc

> Since I am totally new for Linux, I am learning it.

i _guess_ you are a hacker/coder who is trying out this side...welcome..

if you haven't yet, suggest you open YaST and go

Software > Software Management then flip the 'Filter' (at the top)
from "Search" to "Patterns", scroll the new left side pane down to the
"Development" section and place a check mark next to "Base
Development" and all you think you _need_, then hit "Accept"

--
platinum
Reply With Quote
  #5 (permalink)  
Old 30-Sep-2009, 20:48
kayohf's Avatar
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 8
kayohf hasn't been rated much yet
Default Re: where is my gcc

but, if in the future, you want to see if some package is installed on your computer, like gcc, you can use this command in terminal:

rpm -qa | grep PACKAGE [rpm -qa | grep gcc]

or

whereis COMMAND [whereis gcc]

the first command will return the name of package if they are installed, the second will return the location on your system for some command that you need to use.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2