Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!usc!hookup!olivea!charnel.ecst.csuchico.edu!csusac!csus.edu!pluto From: wleong@sfsu.edu (2-King) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Newbie question, please help Date: 14 Dec 1995 03:07:09 GMT Organization: California State University Sacramento Lines: 62 Message-ID: <4ao4ct$iot@news.csus.edu> References: <Vlasti.Broucek.212.1D931900@psychol.utas.edu.au> NNTP-Posting-Host: wleong@pluto.sfsu.edu your path is not included in the current environment. Add . into the path environment in your .cshrc file. Dot (.) tells the OS to look for the executable in your current working directory. In article <Vlasti.Broucek.212.1D931900@psychol.utas.edu.au>, Vlasti.Broucek@psychol.utas.edu.au (Vlasti Broucek) wrote: >Hi, > >I have just installed FreeBSD 2.1. No problems and everything seems to work >well. However, I tried to compile c programs and there is problem following >problem. > >Let say I have this very simple program in file test.c: > >#include <stdio.h> >main() >{ > putchar('A'); > exit(0); >} > >if I do > >gcc test.c > >everything seems to be OK. > >However, after > >a.out > >I get > >a.out: Command not found. > >Well I tried that program on another machines running SVR5, BSD and SunOS and >no problems. > >So, can you help me? Please directly to my e-mail, as I cant read this group >everyday and I can miss your answer. > >Thanks. > >Vlasti >--- > > ------- Vlasti BROUCEK, MSc GradDipSci(IT) >| * * | Computer Systems Officer >| ! | >| \___/ | University of Tasmania, Department of Psychology > \_____/ GPO Box 252C > Hobart TAS 7001 > Australia > >phone : +61-02-202346 >fax : +61-02-202883