File extensions under *nix don't mean anything |
|
Hey, if I wanted to compile something for Linux with g++ and I used -o, what should I name the file? |
|
File extensions under *nix don't mean anything |
|
(\_ _/)
(='.'=)
(")_(")
For linux executables, I think the executable file needs to have it's executable "x" bits set in it's file permissions. You can find that out with a "ls -l", and set it (if it needs setting) using chmod. You also need to make sure the file's location is in your executable path. |
|
the location of these programs is in your path variable |
|
(\_ _/)
(='.'=)
(")_(")
If you make a bin directory in your home directory, you don't actually need to do anything |
|
(\_ _/)
(='.'=)
(")_(")
Just to add to what Ynot said, you can check your current PATH variable by typing `echo $PATH' (without the quotes) at a shell prompt, and you can create your own PATH by adding something like |
|
Bookmarks