Recent

Author Topic: Ilegal Parameter -WG in crosscompiling  (Read 3743 times)

sergiotucano

  • Newbie
  • Posts: 4
Ilegal Parameter -WG in crosscompiling
« on: January 05, 2021, 02:34:38 pm »
Hi everyone !

I'm trying do config cross compiling in lazarus (from linux to win32) but when I whent recompile the IDE I got a error :

 Ilegal Parameter -WG

I don't see anything in web that help with this error.

So.. What can be wrong?

 I sending a image of the error.

OPS ! I disabled the option  Win32 gui application (-WG, ignored) in Project Options / Compiler Options / Config and Target and the error is still there...

I'm using Lazarus 2.0.10 and FPC 3.2.0
« Last Edit: January 05, 2021, 02:56:45 pm by sergiotucano »
Delphi Analyst Developer

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Ilegal Parameter -WG in crosscompiling
« Reply #1 on: January 07, 2021, 09:09:50 am »
I'm trying do config cross compiling in lazarus (from linux to win32) but when I whent recompile the IDE I got a error :

You don't need to recompile the IDE. Simply change your project to compile for Win32 and you should be set. The IDE will then recompile the LCL for Win32 upon your first compilation and after that only your application needs to be compiled.

 

TinyPortal © 2005-2018