Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: GCC C++ Compiler Installation

Hybrid View

  1. #1

    Default GCC C++ Compiler Installation

    Greetings, internet

    I am quite new to Linux, and am looking to install a c++ compiler. I run 11.4, and was told to look in the Software Manager for easy installation. I have no repositories installed, as the repositories in the Application sticky only applied to Suse installations through 11.3.
    I found the package "gcc45-c++" (Version Number 4.5.1_20...208-9.8) when I searched the Software Manager. I proceeded to install it, and had no problems, but when I looked in "applications", the compiler was not there. I'm aware that I may be revealing some great ignorance here, so I'll ask, should gcc appear? If not, how do I execute the program?

    Thank you in advance

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: GCC C++ Compiler Installation

    GCC is a command-based compiler. There are GUI frontends for it, but otherwise you will run GCC from the terminal.

  3. #3

    Default Re: GCC C++ Compiler Installation

    Ah, alright, that makes sense. How would I go about doing that, then?

  4. #4
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: GCC C++ Compiler Installation

    See the man pages for gcc and g++.

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Cool Re: GCC C++ Compiler Installation

    To Add the C++ development environment I would do the following:

    Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:

    Code:
           Development   
    
    [X] Base Development 
    [X] C/C++ Development
    Then Press the Accept button on the bottom right and allow these applications to install. There may be other patterns there you also would like to add. This will install many files required for each development you wish to use.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6

    Default Re: GCC C++ Compiler Installation

    I did as you instructed, and DDD has appeared in my Applications. Is that what I'm looking for, or should I be in the terminal, as chief sealth suggests? I also looked in the manual for gcc and g++. The manual says that there is no g++ entry, and the gcc entry just gives me options, nothing related to starting the compiler to write the code.

  7. #7

    Default Re: GCC C++ Compiler Installation

    I think I need to read up more on the gcc compiler. Thank you both for your help!

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: GCC C++ Compiler Installation

    On 2011-04-19 05:06, MemeWilder wrote:
    > and the gcc entry just gives me
    > options, nothing related to starting the compiler to write the code.


    Man pages are not easy manuals to read, they are more like reminders for
    things you already know. It does say what you want, but not in simple terms.

    I think there are IDEs that will call the compiler for you. Try kdevelop.

    I don't know if there is a howto or book that guides people on how to make
    programs in linux.

    An old one that comes with the distro:

    /usr/share/doc/Books/lpg-0.4pdf: The Linux Programmers Guide

    But it is not what you need now.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  9. #9

    Default Re: GCC C++ Compiler Installation

    Carlos E. R. wrote:
    > On 2011-04-19 05:06, MemeWilder wrote:
    >> and the gcc entry just gives me
    >> options, nothing related to starting the compiler to write the code.


    That's be what the manuals are for:
    http://gcc.gnu.org/onlinedocs/

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: GCC C++ Compiler Installation

    On 2011-04-19 15:28, Dave Howorth wrote:
    > Carlos E. R. wrote:
    >> On 2011-04-19 05:06, MemeWilder wrote:
    >>> and the gcc entry just gives me
    >>> options, nothing related to starting the compiler to write the code.

    >
    > That's be what the manuals are for:
    > http://gcc.gnu.org/onlinedocs/


    Isn't that the same as info gcc? Horrible for learning.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •