Some horrible hacks, but s10 cross compilation of cfacter works!