# [fpc-pascal] cross compiling - easier than expected - wiki needs update?

Sun Apr 29 15:27:47 CEST 2012

```2012/4/29 Mattias Gaertner <nc-gaertnma at netcologne.de>:

> You don't need to set the LCLWidgetType here because win32 is the
> default for TargetOS win32.

I tried this but then it seems it would try to use what is configured
in "Build Lazarus" which is set to GTK2 on my machine. When I try to
run the resulting exe in wine then it will print this error and exit:

err:module:import_dll Library libgdk-win32-2.0-0.dll (which is needed