exe file

Rafael Herrera raffo@neuronet.pitt.edu
Tue Jun 5 22:37:00 GMT 2001


Torsten Becker wrote:
> 
> Normaly, I should get an exe file! But when I start it, I get only, that it couldn't
> found a file. But it's in the dir.. I guess  somthing ist wrong with my shell. 
> (bash-2.03) Where is the problem? Thanks Torsten

The shell will normally execute executables found in a directory listed
in the PATH environmental variable. So,

$ echo $PATH
/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/opt/gnome/bin:/opt/kde2/bin:/opt/kde/bin:.:/opt/gnome/bin

To execute a binary with, say:

	$ hello

The entry "." (the current working directory) should be listed, as in
the example above. If it is not, then this should tell bash where the
binary is:

	$./hello

-- 
     Rafael



More information about the Gcc-help mailing list