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

Thread: C Compiler

  1. #1
    Join Date
    Aug 2008
    Beans
    72
    Distro
    Ubuntu 8.04 Hardy Heron

    Post C Compiler

    Hey, i am in need of a C compiler that can be used on linux, please leave a link!

    Thanks in advance

    -winbutu

  2. #2
    Join Date
    Aug 2008
    Location
    United States
    Beans
    295
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: C Compiler

    gcc ftw!

    it should already be installed
    Code:
    gcc -v
    --Gmxgeek

  3. #3
    Join Date
    Aug 2008
    Beans
    72
    Distro
    Ubuntu 8.04 Hardy Heron

    Post Re: C Compiler

    Thanks a billion!

    And i get to it how?
    Last edited by winbutu; August 30th, 2008 at 09:07 AM.

  4. #4
    Join Date
    Aug 2008
    Location
    United States
    Beans
    295
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: C Compiler

    bring up a terminal and type in gcc <filename.c>

    it will output a.out in the same directory
    --Gmxgeek

  5. #5
    Join Date
    Aug 2008
    Beans
    72
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: C Compiler

    it says error.
    i typed in

    filename.c
    gcc.c
    filname.cc
    gcc

  6. #6
    Join Date
    Aug 2008
    Location
    United States
    Beans
    295
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: C Compiler

    Quote Originally Posted by winbutu View Post
    it says error.
    i typed in

    filename.c
    gcc.c
    filname.cc
    gcc
    what is the name of the C file you are trying to compile?
    --Gmxgeek

  7. #7
    Join Date
    Aug 2008
    Beans
    72
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: C Compiler

    it doesnt have a name, im not trying to compile it, im trying to get a compiler..
    like dev C++
    but for C, and linux.

    thanks

    -winbutu
    Last edited by winbutu; August 30th, 2008 at 09:24 AM.

  8. #8
    Join Date
    Aug 2008
    Location
    United States
    Beans
    295
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: C Compiler

    gcc IS a compiler. it is all set and ready to go, all it needs is a C file to compile
    --Gmxgeek

  9. #9
    Join Date
    Aug 2008
    Beans
    72
    Distro
    Ubuntu 8.04 Hardy Heron

    Post Re: C Compiler

    Yes, but i want to be able to write into the program, not into a notepad.

    thanks

    -winbutu
    Last edited by winbutu; August 30th, 2008 at 09:28 AM.

  10. #10
    Join Date
    Aug 2008
    Location
    United States
    Beans
    295
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: C Compiler

    ah, so you are looking for a visual c++ development environment.

    Eclipse has good ratings, but is a little on the heavy side for me.
    Geany is quite a bit lighter, but may lack some features you're looking for.

    if you want to try them, bring up a terminal and type in
    Code:
    sudo apt-get install eclipse
    sudo apt-get install geany
    they will be under the Applications -> Programming menu




    anjuta and code::blocks also get good reviews
    --Gmxgeek

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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