Date: Fri, 27 Dec 1996 08:51:08 -0800 (PST) From: root <root@geo.geoaccess.net> To: hackers@FreeBSD.org Subject: How to run C programs on FreeBSD Message-ID: <Pine.LNX.3.93.961227083917.1127A-100000@geo.geoaccess.net>
next in thread | raw e-mail | index | archive | help
Recently I purchased FreeBSD Release 2.1.5 and installed on my machine for developer package. I tried to run a small program hello.c to print on screen. After editing hello.c and I compile it as as: gcc -o hello hello.c hello It supposed to print: Hello World! However, the system responded: "Command not found" I checked file mode hello and it was rwxr_xr_x. It should run. Also I made a perl script to rpint "Hello world!". I set the script mode as 777 after editing. When I tried to run it, it gave me the same error message as before for c program hello. What do I have to do to run it? Would you please help me out? It would be greatly appreciated. Thank you so much. Yung, yung@geoaccess.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.93.961227083917.1127A-100000>