I am creating a Lisp for 8-bitters (6502, oh yes) and am now targetting CP/M. The thing I cannot figure out is a straightforward way to butt up objects into a library with no linking. Got this far:
Code: Select all
zcc +cpm -xlibsimpleio.a block.o control.o main.o outhn.o outhb.o outhw.o
error: undefined symbol: _main
Thanks a bunch in advance! Can barely wait to see how the z80 is performing – and to target more platforms.
pixel
The Lisp I'm talking about: https://github.com/SvenMichaelKlose/tunix