Update linux sparc support so it compiles and works reasonably
5 files changed