OnWorks favicon

elfrc - Online in the Cloud

Run elfrc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command elfrc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



elfrc — a resource compiler for ELF systems


elfrc [-o filename] [-h filename] [-v ]


This manual page documents briefly the elfrc command.

This manual page was written for the Debian distribution because the original program does
not have a manual page.

elfrc is a program which can turn arbitrary files into ELF object files which can then be
linked into your program directly and accessed via simple, user-defined symbol names.

For instance, it's possible to embed even huge (16MB+) files directly into the executable
and then access the data in constant time without making the compiler or linker eat loads
of memory.


Here's what the arguments do:

-o filename
Store resulting ELF object in filename. If not given, no ELF object will be

-h filename
Store C header file which can be used to access the resource data in filename.
If not given, no header file will be generated.

-v Be a little verbose about what's going on.

In any case, the most important argument is resfile - the path to a resource file which
can be parsed by elfrc. If no resource file is given, or if "-" (a dash) is given, the
resources will be read from the standard input.

A resource file is just a plain text file, each line in the file describing a resource to
be compiled into the ELF output. Each line is expected to three fields, separated by tab
characters: the type of the resource (can be either 'binary' or 'text'), the symbol name
(this should be a valid C identifier) and the path to the file to be compiled in.

Use elfrc online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 2
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    Gambas3* coding tools and examples for
    use in SMB or other organizations that
    make internal programs. E.g. from
    database fields to class sourcecode with
    Download garlic3
  • 4
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    Download Sardi
  • 5
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 6
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 7
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands