Skip to content

Building ReWarp from source

Radosław Kujawa edited this page May 6, 2016 · 1 revision

Building ReWarp

This article contains description of the ReWarp build process.

Prerequisites

  • AmigaOS 4 or UNIX-like host system
  • vasm
  • vlink
  • GNU Make
  • vlink linker script for OS4 binaries

The vasm, vlink tools are a part of VBCC compiler (but naturally can be installed separately). Linker script is distributed along with VBCC AmigaOS 4 target. All of these can be obtained from the author's home page: http://sun.hasenbraten.de/vbcc/ .

If you run into assembly errors related to macros, it means you need a newer version of vasm - use daily source snapshot and build it manually.

Building

From AmigaOS 4 host

If you have installed VBCC compiler and AmigaOS 4 target then you are ready to go, just call:

> make 

From UNIX-like host

You will need to prepare a VBCC environment suitable for cross-compiling AmigaOS4 binaries. The whole procedure is outside of the scope of this article. The vbcc compiler itself is not needed, only vasm and vlink binaries are used. Once cross-compilation environment is ready, set VBCC variable and run make.

$ VBCC=/path/to/vbcc/installation/
$ export VBCC
$ make HOST=unix