From owner-freebsd-questions Tue Nov 17 18:33:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04579 for freebsd-questions-outgoing; Tue, 17 Nov 1998 18:33:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dfw-ix1.ix.netcom.com (dfw-ix1.ix.netcom.com [206.214.98.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04571 for ; Tue, 17 Nov 1998 18:32:58 -0800 (PST) (envelope-from G578@ix.netcom.com) From: G578@ix.netcom.com Received: (from smap@localhost) by dfw-ix1.ix.netcom.com (8.8.4/8.8.4) id UAA14065 for ; Tue, 17 Nov 1998 20:32:27 -0600 (CST) Received: from har-ct6-18.ix.netcom.com(199.183.203.210) by dfw-ix1.ix.netcom.com via smap (V1.3) id rma014029; Tue Nov 17 20:32:11 1998 Message-ID: <365231AD.3657@ix.netcom.com> Date: Tue, 17 Nov 1998 21:32:13 -0500 X-Mailer: Mozilla 3.0C-NC320 (Win95; U) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: C executables Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know this sounds idiotic, but I can't get my "C" executables to run. I've compiled with "cc" and with "gcc" (which I installed from the packages), and I get no errors, and I create "a.out", but when I type "a.out" to run the thing, I get "...not found." I'm new to C and new to UNIX, so I'm probably doing something excrutiatingly dumb. It's just that, this is how it worked in Caldera Linux, and this is how all the C books say it should work in pretty much any UNIX environment. You compile, you don't specify an object module name, it defaults to "a.out", then you type "a.out" and, Voila, Hello World! Why am I getting Voila, Not Found? Thanks. --Steve Barney To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message