Compile?
Results 1 to 2 of 2

Thread: Compile?

  1. #1
    The Recidivist
    Join Date
    Nov 2002
    Posts
    460

    Are you down with gcc?! Yea you know me!

    How do I compile a C program (thats what .c is right?) under linux?

    hjack

    edit:

    Okay, figured out that I don't have gcc. How do I get it and install it.


    hjack
    "Where the tree of knowledge stands, there is always paradise": thus speak the oldest and the youngest serpents.
    - Friedrich Nietzsche

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    55
    to get gcc goto http://gcc.gnu.org/ there is an installation guide there as well.
    to compile programs if the program is hello.c type

    gcc -o hello hello.c

    Cytex

Posting Permissions

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