Playing with nodefaultlib, so far without success - either Pelles C complains that __fltused is not defined, or, when I define it, polink says it's redefined. Any ideas?
#include <stdio.h>
#pragma nodefaultlib
#pragma comment(linker, "/entry:main")
// POLINK: error: Unresolved external symbol '__fltused'
// if activated: redefinition of symbol...
int _fltused;
int xy(double i, double j) { return i*j; }
int main(int argc, char* argv[]) {
return xy(100.0, 12.3);
}