I built a C program using make on Ubuntu. The resulting bin file is executeable via ./binfilename but not by just executing it in the directory it was build.
How can i "convert" it to a bin file that I can copy to /usr/bin so I can execute it "system-wide" or does this require a different build process?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
||||
|
|
|
This is not because there is a difference between the binaries but because the directory the binary is in is not in your On Windows the current directory is always part of your So you need to either place the binary in one of the directories in your PATH="$PATH:/home//bin" to your |
|||
|
|