Ok, OPTLINK is the problem. Without linking SDL, it complains about missing symbol (good) and creates a corrupt executable (so-so). With linking SDL in any way (explicitly or with pragma(lib)) it shows no errormessage (really bad) and does not create any executable (bad). Should I fill a bug report or am I doing something wrong?