I had too many problems with GCC, so I used StormC 3.0 that came on my dev cd.. I'd suggest using something like StormC until Hyperion release the OS 4.0 SDK.. as that will be ixemul free and should have everything setup already, reaction, bsdsocket, etc.
Sorry I couldnt be of much help. :/