Results 1 to 6 of 6

Thread: Ubuntu C compiler

  1. #1
    Old school, like an old fool. Flying Mullet's Avatar
    Join Date
    Apr 2003
    Location
    Napping in a peach tree.
    Posts
    19,185
    Articles
    6
    Blog Entries
    7
    Contributions
    • Former Administrator
    • Former Cid's Knight
    • Former Senior Site Staff

    Default Ubuntu C compiler

    Any suggestions?
    Figaro Castle

  2. #2
    Draw the Drapes Recognized Member rubah's Avatar
    Join Date
    Dec 2004
    Location
    Now Destiny is done.
    Posts
    30,655
    Blog Entries
    21
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    uhhh, gcc?

  3. #3
    Got obliterated Recognized Member Shoeberto's Avatar
    Join Date
    Jun 2000
    Location
    THE OC BABY
    Posts
    12,020
    Blog Entries
    1
    Contributions
    • Former Cid's Knight

    Default

    GCC is pretty much what you'll want to use.

    Ubuntu's weird about it though. You have to install the build-essential package to compile with it, but that's as simple as
    sudo apt-get install build-essential

    From there, basically any IDE you install through apt will be able to run with it. I imagine you have experience with Eclipse, which is better than the other IDEs I've messed with on Linux. The default package for it in Ubuntu comes with all of the C/C++ stuff built in so all you have to do is install it in apt and you should be good to go.


  4. #4
    Old school, like an old fool. Flying Mullet's Avatar
    Join Date
    Apr 2003
    Location
    Napping in a peach tree.
    Posts
    19,185
    Articles
    6
    Blog Entries
    7
    Contributions
    • Former Administrator
    • Former Cid's Knight
    • Former Senior Site Staff

    Default

    I found a compiler it came with, accessed with "cc" in the command line. This should be good enough for now. I have some basic system calls OS programs I have to write, so it shouldn't be anything too complicated for a text editor to handle.
    Figaro Castle

  5. #5
    i n v i s i b l e Tech Admin o_O's Avatar
    Join Date
    Jun 2001
    Location
    New Zealand
    Posts
    2,957
    Blog Entries
    1

    FFXIV Character

    Humphrey Squibbles (Sargatanas)

    Default

    Cc works fine for most stuff, but I'd recommend getting into the habit of using gcc anyway. It supports a wider range of languages and options (-Wall as a C flag for example), while still being able to compile anything cc will.

  6. #6
    Ominous Wanderer Tech Admin Samuraid's Avatar
    Join Date
    Oct 2001
    Posts
    5,522

    Default

    gcc is about as good as it gets (for free at least)

Posting Permissions

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