Thank you very much!
I will check ccz80++, I'm using z88dk but there's a mess with the classic lib and newlib, and which one supports what.