1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-24 20:30:08 +00:00

Revert "Renamed none.lib to no-platform.lib"

This reverts commit 26350714ee3a78771061b77b6d20a472f1e40585.

It breaks the build
This commit is contained in:
bauen1 2018-01-02 15:32:27 +01:00
parent 26350714ee
commit 72bb32fcda
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C
2 changed files with 4 additions and 5 deletions

View File

@ -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 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 library for the targeted hardware. The recommended way to do this is to
modify the platform-independent standard library of the cc65 distribution. modify the platform-independent standard library of the cc65 distribution.
It is named "no-platform.lib" in the lib directory of the It is named "none.lib" in the lib directory of the distribution.
cc65 distribution.
When using &quot;no-platform.lib&quot; we need to supply our own <tt>crt0</tt> When using &quot;none.lib&quot; we need to supply our own <tt>crt0</tt>
module with custom startup code. This is simply done by first copying the 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, 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. and finally using the ar65 archiver to add the module to the new library.
The steps are shown below: The steps are shown below:
<tscreen><verb> <tscreen><verb>
cp /usr/local/share/cc65/lib/no-platform.lib sbc.lib cp /usr/local/share/cc65/lib/none.lib sbc.lib
ca65 crt0.s ca65 crt0.s
ar65 a sbc.lib crt0.o ar65 a sbc.lib crt0.o
</verb></tscreen> </verb></tscreen>

View File

@ -33,7 +33,7 @@ TARGETS = apple2 \
sim65c02 \ sim65c02 \
supervision \ supervision \
telestrat \ telestrat \
no-platform none
DRVTYPES = emd \ DRVTYPES = emd \
joy \ joy \