From owner-freebsd-questions Fri Jan 14 17:41:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.airmail.net (mail.airmail.net [206.66.12.40]) by hub.freebsd.org (Postfix) with SMTP id A377D14FAA for ; Fri, 14 Jan 2000 17:41:36 -0800 (PST) (envelope-from snoopy@mail.airmail.net) Received: from chink from [207.136.39.39] by mail.airmail.net (/\##/\ Smail3.1.30.16 #30.423) with esmtp for sender: id ; Fri, 14 Jan 2000 19:41:23 -0600 (CST) Message-Id: <4.2.0.58.20000114193450.00a3dcf0@mail.airmail.net> X-Sender: snoopy@mail.airmail.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Fri, 14 Jan 2000 19:43:50 -0600 To: freebsd-questions@FreeBSD.ORG From: "Ray D. Davis" Subject: How to run compiled program Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am on ver 2.8. I have compiled an equivalent of hello world in both c and c++ using both the default a.out method and the -o option. Yet when I try to execute the file which is supposed to be linked, by typing the file name, eg. ntest, the system says ntest: not a command. Looking at the contents of the file it appears more like an object file than executable. What is the dumb thing I am doing??? tnx ray ----------------------------------------------------- Click here for Free Video!! http://www.gohip.com/freevideo/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message