|
a.out is indeed an older format, different from the ELF format.
Now the file name of the executable file generated by gcc without using the -o parameter is "a.out", but this is just a name, it is actually an ELF format file.
Use the command file filemame to see the format of the file:
hyg @ ubuntu610: ~ / test / moduleTest $ file a.out
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU / Linux 2.6.0, dynamically linked (uses shared libs), for GNU / Linux 2.6.0, not stripped |
|