Skip to content

reidiens/hello-elf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

'Hello World!' as an ELF file

Generates an executable ELF file that says "Hello, World!" for x86 or x86_64 Linux

Building

To build, simply navigate to the directory containing the version you wish to build and run the build script.

For example, to build the x86 version, you'd use

cd i386 && ./create-elf32.sh

You may or may not have to give the script execute permissions with chmod.

You can pass the name you wish to give the generated ELF file as an argument to the build script. Ex:

./create-elf32.sh elf-file-name

If the no name is passed, the build script will simply prompt the you to input a name. If nothing is entered, the default name is used.

Dependencies

gcc, make

About

just learning how an elf file works

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published