Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to setup Win and LInux cross compiling
Message
General information
Forum:
Linux
Category:
Other
Title:
How to setup Win and LInux cross compiling
Miscellaneous
Thread ID:
00522726
Message ID:
00522726
Views:
36
In the USES section do the following:

uses
Classes, SysUtils,
{$IFDEF WINDOWS}
WinTypes, WinProcs,
Graphics,
{$ENDIF}
{$IFDEF WIN32}
Windows,
Graphics,
{$ENDIF}
{$IFDEF LINUX}
Types,
QGraphics,
{$ENDIF}

{$IFNDEF NO_MATH}
Math,
{$ENDIF}
Misc, NoMath, Plotdefs, Titles;


This approach is prefered because Kylix may be ported to other platforms besides WinXX or Linux and simply adding another compliler test will be all that is necessary, since the CLX components are platform indpendent.
JLK
Nebraska Dept of Revenue
Reply
Map
View

Click here to load this message in the networking platform