malloc-lib?

ZX80, ZX 81, ZX Spectrum, TS2068 and other clones
Post Reply
siggi
Well known member
Posts: 344
Joined: Thu Jul 26, 2007 9:06 am

malloc-lib?

Post by siggi »

I tried to compile "examles/graphics/wintest.c" for ZX81, using the compiler dated 04-04-2018:
zcc +zx81 -lgfx81hr192 -startup=4 -create-app -lmalloc -lndos wintest.c

I get error
" Error: cannot read file 'malloc.lib'
1 errors occurred during assembly"

The lib "malloc.lib" seems to be missing ...

Siggi
User avatar
dom
Well known member
Posts: 1302
Joined: Sun Jul 15, 2007 10:01 pm

Post by dom »

Malloc is part of the core platform library now so -lmalloc is no longer required.
Post Reply