Hi Joseph I'll look at more detail at the other problems, but first it seems that non-Linux GNU targets are currently broken because many declarations that are not Linux-specific have been added to the Linux-specific sections of config.gcc.
Should I wait untill your patch is merged to fix this? Btw, your patch overhauls linux.h but not i386/linux64.h which is in the same situation as you described. -- Robert Millan