Re: [aclug-L] gcc
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
gcc does not execute an executable, that is the kernel's job. gcc just
makes a file which can be executed by the kernel after the new file's mode
is changed to executable.
On 15 Oct 1998, John Goerzen wrote:
> Try typing:
>
> ./a.out
>
> or:
>
> ./executablename
>
> Also make sure it is marked executable:
>
> chmod u+x executablename
>
> If these don't work, send us the commands that you're using and we'll
> go from there.
>
> -- John
>
> jeffrey.hansen@xxxxxxxxxxx writes:
>
> > Anyone know why gcc in Redhat 5.1 would refuse to execute an executable? I
> > compiled it okay and it's in the working directory, but Linux tells me that
> > the "command" isn't recognized. I did a "file" and it is an executable. I
> > verified spelling and case until my eyes crossed. Any ideas?
> >
> > jeff
> >
> >
> > ---
> > This is the Air Capitol Linux Users Group discussion list. If you
> > want to unsubscribe, send the word "unsubscribe" to
> > aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
> > message to aclug-L@xxxxxxxxxxxx.
> >
>
> --
> John Goerzen Linux, Unix consulting & programming jgoerzen@xxxxxxxxxxxx |
> Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org |
> ----------------------------------------------------------------------------+
> Visit the Air Capital Linux Users Group on the web at http://www.aclug.org
> ---
> This is the Air Capitol Linux Users Group discussion list. If you
> want to unsubscribe, send the word "unsubscribe" to
> aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
> message to aclug-L@xxxxxxxxxxxx.
>
---
This is the Air Capitol Linux Users Group discussion list. If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.
|
|