Scroll to navigation

ELFTOAOUT(1) General Commands Manual ELFTOAOUT(1)


elftoaout - ELF to a.out convertor


elftoaout [ -b ] [ -o outfile ] [ -V ] infile


elftoaout converts a 32bit or 64bit SPARC ELF image to a.out format. This is needed for SPARC bootstraps, as Sun PROM expects a.out image when booting via net or tape or from the disk. On the disk, most of the people use SILO, which uses elftoaout to create first stage loader, but understands ELF format, so you don't need to convert a kernel if you will boot it with SILO.


sun4 format. Unlike other PROMs ( sun4[cdemu] ), sun4 PROM does not understand the 32bit a.out header and thus this option strips the header from the image. Other PROMs need such a header, so use this only if you are building an image for sun4 or other architectures that explicitly reqire a headerless image.
Print elftoaout version and exit.
Specify output file name, instead of the default a.out
Compute an image checksum and store it in a.out header.
Required parameter which specifies the ELF image to be converted.


This utility can handle just a couple of specific cases needed for kernel and SILO conversions, but is not able to to convert all ELF binaries to a.out. It can only convert static binaries and has a couple of other limitations.


elftoaout has been written by Pete A. Zaitcev <>, support for 64bit ELF has been added by Jakub Jelinek <>.


elftoaout is available for anonymous ftp from in /OS/Linux/Sparc/local/elftoaout/.



June 2000 Elftoaout version 2.3