8bitworkshop icon indicating copy to clipboard operation
8bitworkshop copied to clipboard

SDCC linker doesn't remove unused code on CPC platform

Open sehugg opened this issue 3 years ago • 0 comments

On the CPC platform, a lot (all?) of the cpctelera library is linked in, making binaries bigger than necessary. This doesn't seem to happen on other Z80 platforms.

I used the sdcclib tool directly to create the .lib, is that a bad idea?

sehugg avatar Dec 22 '21 03:12 sehugg