🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #1035

can't execute a.out....

#1035
From: JJ
Date: Tue, 09 Jan 2001 06:46
11 lines
1229 bytes
I installed RedHat Linux 6.2 recently. When compiled and tried to execute a
simple C program, I got the following error - "bash: a.out: command not
found."

I compiled my HelloWorld program using gcc as follows: gcc simple.c (no
erros were reported)
Then, I checked a.out attributes, they were -rwxr-xr-x.

What can be wrong? Why doesn't it execute?

Please, help. TIA :)
Technical Details
Message-ID: <93e1at$mrc$1@slb0.atl.mindspring.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newspump.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news.mindspring.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11033e,3dccba4cdc941ea6,start
X-Google-Attributes: gid11033e,public
X-Google-ArrivalTime: 2001-01-08 19:44:20 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newspump.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news.mindspring.net!not-for-mail
From: "JJ" <founder555@hotmail.com>
Newsgroups: ahn.tech.linux
Subject: can't execute a.out....
Date: Mon, 8 Jan 2001 22:46:22 -0800
Organization: MindSpring Enterprises
Lines: 13
Message-ID: <93e1at$mrc$1@slb0.atl.mindspring.net>
NNTP-Posting-Host: d8.af.43.63
X-Server-Date: 9 Jan 2001 03:42:21 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400