|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
Executing a c program
I've googled and searched, but can't find an answer to my first post here.
Using FreeBSD v7.0, I wrote a simple test program in c that just outputs a few lines of text to the screen. I discovered that the program apparently cannot be run from within the same directory where it resides. So, I moved it to /usr/local/bin, and now can execute it from my home directory. I'm using the JWM window manager, and put my c program into the JWM menu, but it won't execute from there. Both JWM and the program reside in /usr/local/bin. I'd like to be able to run the program either from the command line or from the JWM menu. I'm guessing I need to know the correct directory in which to put the program. Any help is appreciated. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't install program | guitarscn | OpenBSD General | 3 | 31st August 2009 08:40 PM |
A PDP-11 program card | TerryP | Programming | 0 | 10th April 2009 05:54 AM |
How to learn to program under BSD? | Sunnz | Programming | 5 | 24th December 2008 11:45 PM |
Learning how to program | Solaris_Delta | Programming | 9 | 24th December 2008 07:58 PM |
executing commands for all users when X starts with KDM | caesius | FreeBSD General | 2 | 20th October 2008 09:03 AM |