[Lazarus] How to compile RTL in Lazarus?

Paul Ishenin ip at kmiac.ru
Thu May 15 11:06:31 CEST 2008


Tristan wrote:
> Dear all,
>     I wanted to convert Delphi units to lazarus units.When I used 
> TReader.DefineBinaryProperty 
> ( \fpc\2.2.0\souce\rtl\objpas\classes\reder.inc),I found that the size 
> of "AReadData" is different from Delphis'.I have modified the unit and 
> want to recompile it.The problem is that I know how to compile LCL or 
> IDE under command line,but I don't know how to compile RTL files!Does 
> anyone would do me a favor and tell me how to compile lazarus RTL 
> files?  Thanks a lot.
>  

I dont know how is this correct, but I am using this script:

PATH=D:\programming\fpc_2_2\bin\i386-win32
make clean all OPT="-g"
copy compiler\ppc386.exe bin\i386-win32\
copy utils\*.exe bin\i386-win32\

I know that 'make install' should do things but it doesnot work for me.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list