Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Problems with executing programs
@ 2003-08-21  1:22 Adam
  2003-08-21  6:37 ` Joerg-Uwe Tessmer
  0 siblings, 1 reply; 2+ messages in thread
From: Adam @ 2003-08-21  1:22 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with executing programs
  2003-08-21  1:22 Problems with executing programs Adam
@ 2003-08-21  6:37 ` Joerg-Uwe Tessmer
  0 siblings, 0 replies; 2+ messages in thread
From: Joerg-Uwe Tessmer @ 2003-08-21  6:37 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-21  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-21  1:22 Problems with executing programs Adam
2003-08-21  6:37 ` Joerg-Uwe Tessmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox