Thread: Linux GCC

  1. #1
    Gcc_Confused
    Guest

    Linux GCC

    I just started using Linux a couple of days ago but I figured out how to
    compile the source but I get a file called <file>.out. Any I dea how I would go about running this?

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    By typing <file>.out. It is an executable file.

  3. #3
    Unregistered
    Guest
    Yeah thats what I thought but I keep getting a
    "Bash: file.out :command not found
    I tried as root and in shell but I cant seem to get it to work

  4. #4
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    This should work

    gcc file.c

    to run -> ./a.out
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  5. #5
    Gcc_Confused
    Guest
    Yup thats what I was looking for
    thanks guys

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Port app from Windows to Linux
    By BobS0327 in forum Linux Programming
    Replies: 12
    Last Post: 02-12-2006, 02:35 AM
  2. Replies: 3
    Last Post: 10-29-2003, 09:39 AM
  3. linux gcc
    By dragon_net in forum C++ Programming
    Replies: 11
    Last Post: 10-23-2003, 08:37 PM
  4. gcc
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 10-22-2003, 03:46 PM
  5. programming linux with gcc, emacs, and makefiles
    By Captain Penguin in forum Linux Programming
    Replies: 1
    Last Post: 11-02-2002, 12:04 PM