Thread: C++ On linux.

  1. #1
    Novice Programmer Pyroteh's Avatar
    Join Date
    Jan 2005
    Location
    Alaska
    Posts
    82

    C++ On linux.

    where can I get a free C++ compiler for linux?

  2. #2
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    you could try here . you might find the standard free compiler that is installed by default on all linux boxes.
    as long as you are not looking at compiling a commercial app with it.
    ( the gpl won't allow for any commercial usage )
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    g++ is a free command line compiler thats likely already on your system. try `man g++` for more info.

    If your looking for an IDE try eclipse (with the CDT) or KDevelop.

  4. #4
    Prying open my third eye.
    Join Date
    Jun 2005
    Posts
    45
    Yea, what Linux distro are you using? Most popular ones include gcc/g++. Simply type g++ into a terminal to see if its installed.
    "So you're one of those condescending UNIX computer users?"

    "Here's a nickel, kid. Get yourself a better computer."

  5. #5
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    You can compile commercial apps with GCC (g++,etc.) all you want. If you modify the GCC compiler itself, you need to release your changes, but you can compile closed source programs using GCC, under Linux if you so desire. I'd second using KDevelop with GCC, great combo.

    If your up for a challenge, i'd also look into "VIM", but this is fairly advanced, but will pay off in the long run.
    Programming Your Mom. http://www.dandongs.com/

  6. #6
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    vi(m) must be on all linux boxes, it's part of the standards, and used by a lot of core tools.
    you just have to get used to thier antiquated command structure.
    ( same problem for emacs )

    emacs is actually a prgramming environment, vi(m) is a text processor.

    the only reason to use either is to work on a cli app.
    to work on an x app using kdevelop, or a combination of qtdesigner and kdevelop, or qt designer, or even glade will probably be easier.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 11:40 AM
  2. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 11:03 AM
  3. Dabbling with Linux.
    By Hunter2 in forum Tech Board
    Replies: 21
    Last Post: 04-21-2005, 04:17 PM
  4. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 05:15 AM