[Lazarus] Illegal parameter: -WG
Sven Barth
pascaldragon at googlemail.com
Wed Jun 8 19:46:07 CEST 2011
On 08.06.2011 10:30, Henry Vermaak wrote:
> On 08/06/11 09:16, Michael Schnell wrote:
>>
>> - why is it auto-set in Linux ?
>
> I believe Mattias fixed this, now.
>
>> - Is it _necessary_ when compiling for Windows ?
>
> It depends if you want a console created with your app. There is a
> subsystem type somewhere in the PE header that tells windows if the
> application is a gui, console or driver. Hence this is a linker option.
Just as a sidenote: while GUI and console are available in the Win*
targets, the "driver" option is only available in the NativeNT target
(though the driver kind is currently untested since my last additions
and also highly experimental)
Regards,
Sven
More information about the Lazarus
mailing list