Contains a resource writer for ELF files

This unit contains , a TAbstractResourceWriter descendant that is able to write ELF object files containing resources.

Adding this unit to a program's uses clause registers class with TResources.

Base class for elf resource writer-related exceptions Unknown machine type error

This exception is raised when an attempt is made to set TElfResourceWriter.MachineType to an unknown machine type.

TElfResourceWriter.MachineType
Internal error

If this exception is raised, an internal error occurred.

Internal error

If this exception is raised, an internal error occurred.

ELF resource writer

This class provides a writer for ELF object files and images containing resources.

ELF is the file format used by unices and other operating systems for object files and image files (executables, dynamic libraries and so on). Free Pascal can store resources in ELF files in its own format.

MachineType property can be used to set the machine type of the object file to generate.

TAbstractResourceWriter TElfResourceReader
The machine type of the object file

This property can be used to set the machine type of the object file to write.

If an attempt is made to set MachineType to an unsupported value, an exception is raised.

TElfMachineType