[Overview][Classes][Index] | Reference for unit 'elfwriter' (#fcl-res)

# TElfResourceWriter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

ELF resource writer

## Declaration

Source position: elfwriter.pp line 34

`type TElfResourceWriter = class(TAbstractResourceWriter)`
`protected`
`function GetExtensions; override;`
`function GetDescription; override;`
`procedure Write(); override;`
`public`
`constructor Create; override;`
`destructor Destroy; override;`
`property MachineType: TElfMachineType; [rw]` |  | The machine type of the object file
`end;`

## Inheritance

`TElfResourceWriter` |  | ELF resource writer
`TAbstractResourceWriter` |  | Base abstract resource writer class
`TObject`

## Description

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.

## See also

TElfResourceWriter.MachineType |  | The machine type of the object file
TAbstractResourceWriter |  | Base abstract resource writer class
TElfResourceReader |  | ELF resource reader
Format of resources in object files |  | Format of resources in object files