/tiny-wine

A project to help understand how linkers and Wine work.

Primary LanguageC

Tiny Wine

A Project to help me understand how linkers and Wine work.

Very basic support for jumping to other static Linux ELF programs.

Limitations (A lot)

  • Arm32 only
  • Linux Elf only (yes, no windows support despite being called 'Tiny Wine')
  • Statically linked only
  • Can only do basic things found in "tiny_c"

Prerequisites

  • docker (or an arm32 machine)
git clone https://github.com/Sharpiro/tiny-wine.git
cd tiny-wine
docker build -t tinywine $PWD

Building

docker run --rm -v $PWD:/root/tiny_wine tinywine make

Running

docker run --rm -v $PWD:/root/tiny_wine tinywine qemu-arm ./loader ./env always be closing

Tests

docker run --rm -v $PWD:/root/tiny_wine tinywine ./test.sh

Contributing

This repo is currently experimental and thus not taking contributions at this time.