Results 1 to 3 of 3

Thread: How to compile a source?

  1. #1
    Join Date
    Aug 2005
    Beans
    47

    How to compile a source?

    I tested to compile a program for x according the instructions in the source but the executable won't run from a terminal, only when I doubleclick it hehe. I'am really new to linux, so I suppose there are some suitable directory to put the executable in, or should i specify output directory when I compile?
    Last edited by kapetanski; October 10th, 2005 at 06:41 PM.

  2. #2
    Join Date
    May 2005
    Location
    Farmington, UT
    Beans
    811
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How to compile a source?

    Well from my understanding Linux puts the /bin & /sbin (?) in the PATH for executables. If you want to run an executable that isn't in those directories you should be able to do it from the command line using ./<filename> or you could copy it to a directory that is in your path.

  3. #3
    Join Date
    Aug 2005
    Beans
    47

    Re: How to compile a source?

    thanx!, the command works

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
  •