Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to setup Win and LInux cross compiling
Message
Information générale
Forum:
Linux
Catégorie:
Autre
Titre:
How to setup Win and LInux cross compiling
Divers
Thread ID:
00522726
Message ID:
00522726
Vues:
37
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
Répondre
Fil
Voir

Click here to load this message in the networking platform