Forum > General

Ilegal Parameter -WG in crosscompiling

(1/1)

sergiotucano:
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

PascalDragon:

--- Quote from: sergiotucano on January 05, 2021, 02:34:38 pm ---I'm trying do config cross compiling in lazarus (from linux to win32) but when I whent recompile the IDE I got a error :

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version