Add Makefile to cross-compile from Linux to Amiga
authorHelmut Eller <eller.helmut@gmail.com>
Mon, 12 Dec 2016 15:59:25 +0000 (16:59 +0100)
committerHelmut Eller <eller.helmut@gmail.com>
Mon, 12 Dec 2016 15:59:25 +0000 (16:59 +0100)
commit3c17aa8d8a273fd184fc9681c0c998d35128b5b9
tree35f6391adc2bfe8def0976b56ef99d16b8c8e7ac
parent1d7147ff6ecef92cf10791c7286f278689dec7a0
Add Makefile to cross-compile from Linux to Amiga

This Makefile can be used to cross-compile pForth on a Linux host to
an Amiga target.  GCC is used as host-compiler and VBCC as
cross-compiler.

* build/linux-crossbuild-amiga/Makefile: New file.
* csrc/pf_io.c, csrc/pf_inner.c: Add some quirks to satisfy VBCC. In
particular fseek and ftell needed some help.
build/linux-crossbuild-amiga/Makefile [new file with mode: 0644]
csrc/pf_inner.c
csrc/pf_io.h