[Mono-list] mkbundle output.exe does nothing

Robert Jordan robertj at gmx.net
Fri Mar 26 10:13:18 EDT 2010


On 26.03.2010 15:06, Robert Jordan wrote:
>> Anyone got a clue what I'm doing wrong?
>
> You're not doing anything wrong. Applications are linked
> for the Windows subsystem and they don't get a console.
>
> If you want to build console apps, remove
> "-mwindows" from $monoprefix/lib/pkgconfig/mono.pc
>
> Alternatively, you may want to try this:
>
> CC="gcc -mconsole" mkbundle ...

This should work:

CC="gcc -mno-cygwin -mconsole" mkbundle ...

Robert



More information about the Mono-list mailing list