Results 1 to 7 of 7

Thread: Compiler

  1. #1

    Default Compiler

    Hi,
    From what I know OpenSuse Leap 42.1 KDE desktop comes with a built in compiler gcc.
    Are there any forums on gcc that y'all know that are for beginners?

  2. #2

    Default Re: Compiler

    For some reason GCC compiler is now on my computer.
    Can someone help me locate where its at?
    I just installed it from yast and now it doesn't show up as installed on my computer

  3. #3
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,509

    Default Re: Compiler

    hi,

    if your install is similar to mine, the following will give the info required,

    - open yast, program manager
    - selected the search tab
    - type in the program/package name of interest, and select SEARCH
    - then select the files tab

    your should now see all software items installed by /directory/subdirectory and dependencies

    hth

  4. #4

    Default Re: Compiler

    Quote Originally Posted by keellambert View Post
    hi,

    if your install is similar to mine, the following will give the info required,

    - open yast, program manager
    - selected the search tab
    - type in the program/package name of interest, and select SEARCH
    - then select the files tab

    your should now see all software items installed by /directory/subdirectory and dependencies

    hth
    Well It's installed.
    When I try to search it in desktop menu the icon doesn't pop up.

  5. #5
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,509

    Default Re: Compiler

    Quote Originally Posted by user89 View Post
    Well It's installed.
    When I try to search it in desktop menu the icon doesn't pop up.
    there is no gui for gcc, hence no icon

    if its needed to be used directly,
    call it up via a terminal

    normally when compiling a program the associated 'make' cmd calls it up automatically

    sorry, thats the limit of my useage

    cheers

  6. #6

    Default Re: Compiler

    I tend to build most of my software that i use
    ( most is not in the repos )

    you can start with the gcc web site
    http://gcc.gnu.org/onlinedocs/

    there are also a few different versions and more than one can be installed

    42 is using a very NEW version gcc5.3 i believe

    not a lot of even slightly older software will build with that YET

    so

    i tend to have gcc 34 and 4.3 and 4.9 installed

    there are many ways of handling this
    1)
    Alternatives

    a built in system for choosing gcc or java or other things

    2)
    a manually created shell script than makes sim links , this is what i use
    ( very old habit from 2001 )


    a basic c++guide
    https://www.howtoforge.com/beginners_guide_to_cplusplus

    a basic "c" guide
    https://linuxconfig.org/c-programming-tutorial

    some of the time
    Code:
    ./configure
    make
    su 
    make install
    is the very basic procedure
    but NOT always

    It can get very complex very fast


    there is WAY more to in than JUST gcc
    and there are many parts to gcc and many versions


    just look
    Code:
    su -
    ----- your root password when asked for -----
    zypper se gcc
    and gcc uses autotools
    automake
    autoconf
    configure
    and bunch of m4 macros ( you could do a PHD thesis on just them )



  7. #7
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Compiler

    gcc is a command line tool, if you want an IDE you can try and install
    Code::Blocks
    https://software.opensuse.org/package/codeblocks
    Code:
    zypper in codeblocks
    or Anjuta
    https://software.opensuse.org/package/anjuta
    Code:
    zypper in anjuta
    both use gcc as a compiler backend

Posting Permissions

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