[SOLVED] what is basic executabale format in ubuntu linux?

Status
Not open for further replies.

blooz

Advanced Member level 2
Joined
Dec 29, 2010
Messages
560
Helped
121
Reputation
242
Reaction score
116
Trophy points
1,343
Location
India
Activity points
4,985
what type of file is the basic executable format in ubuntu linux?
 

As every Unix-like OS, Linux has ELF (Executable and Linkable Format) see Wikipedia or at a shell type: "man elf" or "info elf".
 
Reactions: blooz

    blooz

    Points: 2
    Helpful Answer Positive Rating
There are several types of "executable format" Linux can support

The oldest is "a.out" (this is long beard and sandal Unix format)

If the program is not self contained (ie it needs library code) then the normal format is ELF.

However Linux will also load and run self contained image files (it has to otherwise it could never get going to get the library files) and many lightweight "embeded" systems do this if they only run a single main application (such as digital osciloscope or ECG machine or Advertising hording/wall).

For most users they don't care as it is the Linux Loder prog 'ld' that does the heavy lift,

ld-linux(8): dynamic linker/loader - Linux man page
 
Reactions: blooz

    blooz

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…