Find the answer to your Linux question:
Results 1 to 9 of 9
Hey everyone, I'm looking for a good C++ compiler for my Linux distro. I know there's gcc found in almost all distributions, but I'm looking for something that would have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Location
    Chicago
    Posts
    24

    Good C++ Compiler


    Hey everyone,

    I'm looking for a good C++ compiler for my Linux distro. I know there's gcc found in almost all distributions, but I'm looking for something that would have a nice, friendly GUI, something like Dev C++ for Windows.

  2. #2
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028
    Compiler GUI? What're you talking about? An IDE? You could try KDevelop and Emacs.

  3. #3
    Just Joined! Varean's Avatar
    Join Date
    Sep 2005
    Location
    California, USA
    Posts
    69
    Kdevelop is good for starters. A good interface and its very easy to use.

  4. #4
    Linux Enthusiast
    Join Date
    Aug 2005
    Posts
    542
    EMacs is just for editing files. You will not get a built-in compiler by any means. I don't know of any C IDEs for Linux. Realize that people writing the software assume that if you are programming under Linux that you know how to set this stuff up yourself. This is true, just because Linux users are much more technical than Windows users.
    Anyway, I don't know what's wrong with GCC. It's got lots of support and isn't really horribly difficult to use.

  5. #5
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    You might try Eclipse or Anjuta.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  6. #6
    Linux User
    Join Date
    Jul 2005
    Posts
    369

    Re: Good C++ Compiler

    Quote Originally Posted by Krogen
    Hey everyone,

    I'm looking for a good C++ compiler for my Linux distro. I know there's gcc found in almost all distributions, but I'm looking for something that would have a nice, friendly GUI, something like Dev C++ for Windows.
    devC++ uses minigw32 wich is gcc for windows. Eclipse uses gcc as its compiler, all that eclipse does is provide a gui front end
    All i want for christmas is a new liver....a second chance to get afflicted with Cirrhosis

  7. #7
    Just Joined!
    Join Date
    Aug 2004
    Location
    Chicago
    Posts
    24
    All right, thanks guys...

    Now... How do I make an executable for my compiled file? In Windows, after I compiled a file I had an .exe to launch it. Yes, I know there are no .exes in Linux! :P

    NEVERMIND! Got it

  8. #8
    Just Joined!
    Join Date
    Jan 2005
    Location
    Linux Drive
    Posts
    43
    Cool, though you might want to post how you got it.
    IIRC you would just do 'g++ code.cpp'

  9. #9
    Linux User
    Join Date
    Jul 2005
    Posts
    369
    edit the c file in vim or gedit, then run

    Code:
    #cc app.c -o app
    replace the word app with the name of the aplication
    All i want for christmas is a new liver....a second chance to get afflicted with Cirrhosis

Posting Permissions

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