[fpc-pascal] Re: Use generic class as parameter (was: how to write enumerator for trees)
Sven Barth
pascaldragon at googlemail.com
Fri Mar 22 10:24:59 CET 2013
Am 22.03.2013 10:14, schrieb Xiangrong Fang:
> I didn't see a DEB package for 2.7.1. I am currently using 2.6.0. Can
> I compile 2.7.1 from source with 2.6.0?
>
Yes. In fact you MUST compile with 2.6.0 (or 2.6.2).
Go to the directory of your 2.7.1 source and execute "make all". If your
test code does only depend on the RTL units then you can compile your
example without an installation from within the top level directory
using this command:
=== command begin ===
./compiler/ppc386 -n -Furtl/units/i386-linux -viwn -FEsomeoutputdir
yourunit.pas
=== comand end ===
If you compiled a 64-bit version you need to use this instead:
=== command begin ===
./compiler/ppcx64 -n -Furtl/units/x86_64-linux -viwn -FEsomeoutputdir
yourunit.pas
=== command end ===
Regards,
Sven
More information about the fpc-pascal
mailing list