From: bauen1 Date: Tue, 2 Jan 2018 14:32:27 +0000 (+0100) Subject: Revert "Renamed none.lib to no-platform.lib" X-Git-Tag: V2.17~50^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72bb32fcda47e24b584e13666ab675d19d9d4a8b;p=cc65 Revert "Renamed none.lib to no-platform.lib" This reverts commit 26350714ee3a78771061b77b6d20a472f1e40585. It breaks the build --- diff --git a/doc/customizing.sgml b/doc/customizing.sgml index 29c525e00..5eb73b648 100644 --- a/doc/customizing.sgml +++ b/doc/customizing.sgml @@ -302,17 +302,16 @@ also forcing a BRK instruction into the CPU. The next step in customizing the cc65 toolset is creating a run-time library for the targeted hardware. The recommended way to do this is to modify the platform-independent standard library of the cc65 distribution. -It is named "no-platform.lib" in the lib directory of the -cc65 distribution. +It is named "none.lib" in the lib directory of the distribution. -When using "no-platform.lib" we need to supply our own crt0 +When using "none.lib" we need to supply our own crt0 module with custom startup code. This is simply done by first copying the the library and giving it a new name, compiling the startup code with ca65, and finally using the ar65 archiver to add the module to the new library. The steps are shown below: - cp /usr/local/share/cc65/lib/no-platform.lib sbc.lib + cp /usr/local/share/cc65/lib/none.lib sbc.lib ca65 crt0.s ar65 a sbc.lib crt0.o diff --git a/libsrc/Makefile b/libsrc/Makefile index c742ad0c7..2ac0c78f0 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -33,7 +33,7 @@ TARGETS = apple2 \ sim65c02 \ supervision \ telestrat \ - no-platform + none DRVTYPES = emd \ joy \