On Sun, 23 Apr 2000, Mumtaz Ghafoor wrote:
> When i compile a program i get a.out.I don't know what to do with
> a.out to get the exe program. I also want to get the listing of c,c++
> functions supported on linux environment.Please help me to solve my
> problem.
What you got in that a.out file is the *executable* itself. In the Unix
world, the executable files are not recognized by their ending in an .exe
extension, or something like that. You can see if a file is executable by
using the ls(1) command:
diogenis% cd ~/src
diogenis% cc -o program.c
diogenis% ls -l a.out
-rwxr-xr-x 1 keramida ceidst93 24272 Apr 23 19:06 a.out*
The 'x' flags in the first column mean that this file is executable. You
can try it out by using:
diogenis% ./a.out
After that, try chatting for a while with your local Unix guru, for more
details on programming in Unix. Some things are quite different than the
way programming is done on a Wintel machine :)
Ciao,
Giorgos Keramidas.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]