LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-14-2004, 10:40 AM   #1
NNP
Member
 
Registered: Nov 2004
Distribution: Debian/Ubuntu
Posts: 156

Rep: Reputation: 30
C++ libraries in Suse


Hey, I just installed suse 9.1 pro and I want to be able to write and compile c++ programs. Im wondering if the c++ libraries come installed in the default suse installation or if i have to get them from somewhere. Im using emacs to write my source code and i intend to use g++ to compile programs.

When i install g++ will that install the libraries?

Oh... one last thing, whats the difference between gcc and g++ or are they the same thing?

Thanks,
NNP
 
Old 11-14-2004, 11:03 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Maybe SuSE didn't include development tools into the standard-selection package, but they are included in the Pro edition, so it's not problem to install them via yast.

I am not a programer, but I think gcc is the C compiler and g++ the C++ compiler, so they are not the same thing.
 
Old 11-14-2004, 12:37 PM   #3
NNP
Member
 
Registered: Nov 2004
Distribution: Debian/Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 30
Does that mean the libraries are preinstalled too?
 
Old 11-14-2004, 02:34 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
1. gcc (Gnu C) and g++ (Gnu C++) are two separate things

2. Neither compiler is installed by default on SusE Pro 9.1: you must go into Yast, Install/Remove Software and manually install them from the SuSE media.

3. Even though the compilers aren't installed by default, every SuSE system should have the needed system libraries to run any any "vanilla" C and/or C++ executable.

So even though the default installation doesn't let you build any new programs (until you install the compilers), it *does* let you run most everything that's already been built for you.

'Hope that helps .. PSM
 
  


Reply



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
building on suse 9 using some libraries built on RH? nkshirsagar SUSE / openSUSE 1 05-06-2005 03:41 PM
SUSE 9.1 and gcc, cc, c, c++, mpich libraries Hypermood Linux - Newbie 7 12-08-2004 10:25 AM
Suse 9.2 development libraries BumSlayer SUSE / openSUSE 1 12-06-2004 03:54 AM
Use gcc and standard libraries with SUSE 9.1 Personal warrenpatrick Linux - Newbie 3 10-10-2004 07:26 PM
g++ libraries ofada Programming 1 04-09-2004 11:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:36 PM.

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