From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b74eeb63de5d9abe X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-08-20 23:40:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed.stueberl.de!newsfeed.r-kom.de!news-nue1.dfn.de!news-ber1.dfn.de!news.uni-potsdam.de!not-for-mail From: Joerg-Uwe Tessmer Newsgroups: comp.unix.tru64 Subject: Re: Problems with executing programs Date: Thu, 21 Aug 2003 08:37:26 +0200 Organization: University of Potsdam Message-ID: <3F4468A6.7FE605D9@agnld.uni-potsdam.de> References: NNTP-Posting-Host: einstein.agnld.uni-potsdam.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: zeppelin.rz.uni-potsdam.de 1061447846 25621 141.89.176.114 (21 Aug 2003 06:37:26 GMT) X-Complaints-To: usenet@zeppelin.rz.uni-potsdam.de NNTP-Posting-Date: 21 Aug 2003 06:37:26 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; OSF1 V5.1 alpha) X-Accept-Language: en Xref: archiver1.google.com comp.unix.tru64:10721 Adam wrote: > > I have a strange problem I hope someone can help me with. When I use either > cc or gcc to compile program on my alpha4000 server, the OS (4.0F Rev 1229) > seems to treat them as not being executable. > I compiled the following test code using >cc -v and >gcc -v > > int main() > { > int t = 5; > return 5; > } > > It compiles okay with no warnings. When I attempt to run the a.out file > though I get: > >bash: a.out: command not found > > I checked the executable bit and all users have that privledge. I have no > idea where to go from here. Any help would be greatly appreciated. > > Thanks, > > Adam > Try as4000> ./a.out I think you don't have a "." in your $PATH environment. Joerg -- Joerg-Uwe Tessmer Universitaet Potsdam Tel.: +49+331-9771613 Institut fuer Physik Fax.: +49+331-9771142 Lehrstuhl Nichtlineare Dynamik https://www.agnld.uni-potsdam.de/~joerg