Classic Building the libraries - marinus-lab/z88dk GitHub Wiki
(Re)building the z88dk libraries
The z88dk libraries are placed in the {z88dk}/libsrc
folder.
The compiler itself must be built (or installed) already and the system environment must be set with the correct file paths.
The Unix style 'make' command must be present too.
Type make
and let the build process proceed.
Once the libs are compiled copy them (*.lib) to {z88dk}/lib/clibs
.
Happy coding!
(Re)building the z88dk libraries on Windows
The following is a recipe for building the libraries from a vanilla machine, you will probably need adjust if you've already got a source tree.
- Open git-bash
git clone https://www.github.com/z88dk/z88dk
- Download the latest build from http://nightly.z88dk.org
- Copy the bin folder from the nightly kit into the cloned tree
- Download make-4.1-2-without-guile-w32-bin.zip (get the version without guile) from https://sourceforge.net/projects/ezwinports/files/
- Open git-bash in administrator mode
cd /
unzip make-4.1-2-without-guile-w32-bin.zip
- Open git-bash as a normal user
cd z88dk/
export PATH=$(pwd)/bin:$PATH
export ZCCCFG=$(pwd)/lib/config
cd libsrc
make
cp *.lib ../lib/clibs/