[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] gcc and a.out
- Subject: Re: [cobalt-users] gcc and a.out
- From: flash22@xxxxxxx
- Date: Thu Mar 8 21:06:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Thu, 8 Mar 2001, mjc wrote:
> hi,
> I have question about making and running c program.
> I just made a sample fah.c source file and uploaded into a one of my virtual
> domains.(/home/sites/site42/web/c/fah.c)
> and I went into telnet and run "gcc fah.c"
> It created a.out.
> But if I try to run a.out
> my machine doesn't recognize a.out.
>
> can someone help?
> How can I compile a c file and run the executible?
cc fah.c -o fah
./fah
if you want it to run as a cgi you have to name it so...(fah.cgi)
if that doesn't work, what machine?
what does 'file a.out' say?
gsh