Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 11-15-2006, 06:39 PM   #1
Registered: Sep 2006
Location: Italy
Distribution: Suse 10.1
Posts: 78

Rep: Reputation: 15
Install GCC

I have install GCC using this proceure: YaST->Software Managent from DVD I selected gcc and so on. Is it wright ?
Old 11-15-2006, 10:13 PM   #2
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Seem correct, did you try to install?
Are you able to run gcc?
# gcc -v
Old 11-16-2006, 03:26 AM   #3
Registered: Aug 2006
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
yep i think you are doing the right things try:

# gcc --version
it will give you information the version of installed gcc.
you can try also to compile a single file. make this file with the name e.g. hello.c


int main(void)
  printf("Hello World!\n");
  return 0;
then compile it with the command :
# gcc -Wall hello.c -o hello.o
execute it:
# ./hello.o
Yast is avery good place to install packages. You should look there first if you want to install something
Old 11-16-2006, 06:11 AM   #4
Registered: Sep 2006
Location: Italy
Distribution: Suse 10.1
Posts: 78

Original Poster
Rep: Reputation: 15
Ok the gcc compiler runs !
I have used the code's lbdgwgt.
Thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install or not install newest GCC version on Solaris 10. Zepiroth Solaris / OpenSolaris 6 05-26-2006 03:42 AM
Help me install GCC today! <-- 1yr without gcc :( nectron101 Linux - Newbie 4 04-17-2006 08:57 PM
install new gcc v3.4.5 over gcc v3.2.2 on red hat 9 mlaich Linux - Newbie 2 01-01-2006 09:52 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 11:20 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration