Patrick R. WadeWed Oct 12 21:54:40 PDT 2005
Martin Kelly wrote: > Mingw looked promising, but I installed the Debian (Sarge) packages for > it, and then built a program with gcc -o example.exe example.c -mwindows > and it couldn't run as an exe, only as a Linux binary. Any idea what > might be wrong? I've only used it once, under Windoze, but in Windoze you have to do your compiling from inside the mingw shell (doing it from inside Cygwin but not inside mingw was said not to work). If you run file example.exe What does file say it is? -- On two occasions I have been asked [by members of Parliament!], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage