Hi Guys,
I just realised what is causing the problem. Due to cross compilation under Mac OS X, I have a {$LINKLIB SDLMain} statment which was causing the error message mentioned earlier.

So my next question is I have a IFDEF UNIX around this code because Mac OS X is Unix, but how can I then differentiate between the various flavours of Unix in my if def? Can I IFDEF Linux or IFDEF MacOS?

Thanks.