euglug.org

[Eug-lug] Compiling Windows Binaries within Linux

작성자

카테고리:



T. Joseph CARTERThu Oct 13 03:18:55 PDT 2005

On Wed, Oct 12, 2005 at 09:34:27PM -0700, 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?

gcc is your linux compiler.  =)

A hint for you, since I don't have a direct answer:  Use dpkg -L on the
mingw package name to see what binaries it installed.