Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Building the CLX with FPC

Introduction

There are some efforts to build the (Free)CLX with FPC, here is a short explanation how to build it. For Win32 the Delphi 7 CLX is used while on linux the Kylix 3 CLX is used.

Further, FPC from svn (2.3.1 or 2.2.1) is used.

Status

Current status is that all units except the database related units build.

That's 39 of 44 units.

Today (02.07.2007) I get perfectly compiled Qxxx units and test application (written with Kylix). fpc-2.0.4 (i386 rpm from lazarus snapshots build 20070701), fpc-2.1.5 (build 20070702) cannot do the job.

Howto

pascal
unit buildclx;
  interface
   uses
     BindHelp,   QDBActns,   QFileCtrls,
     QActnList,  QFileDialog,  QSearch,
     QButtons,   QForms,     QStdActns,
     QCheckLst,  QGraphics,  QStdCtrls,
     QClipbrd,   QGrids,     QStyle,
     QComCtrls,  QImgList,   QTypes,
     QConsts,    QDialogs,   QMask,
     QControls,  QExtCtrls,  QMenus,
     Qt,         QPrinters;
  implementation
end.
text
 fpc -Sd buildclx -Rintel

on windows and

text
 fpc -Sdk buildclx -Rintel

on linux.

Building the DB units

Building of the DB units isn't possible yet, however, at least the following steps must be done:

Todo

As you might guess, there is also stuff to do:


From the Free Pascal wiki, page "Building the CLX with FPC", as it stood on 2013-09-21 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 3, last changed by WikiArchive .