On Tue, May 02, 2006 at 11:55:55AM +0400, Fr. Br. George wrote: > У тебя все примеры собираются? А то я вот тоже собрал, а оно не > работает: > george@arnor:~/src/fpc-ex> make > /usr/bin/ppc386 -Fu/usr/lib/fpc/2.0.2/units/i386-linux/rtl > -Fu/usr/lib/fpc/2.0.2/units/i386-linux/fv -FE. -FUunits/i386-linux > -di386 tfileio.pas > Free Pascal Compiler version 2.0.2 [2006/05/01] for i386 > Copyright (c) 1993-2005 by Florian Klaempfl > Target OS: Linux for i386 > Compiling tfileio.pas > Fatal: Can't find unit FileIO > Fatal: Compilation aborted > make: *** [tfileio] Error 1 at@localhost fpc/fv/test 3 $ fpc -Fu/usr/lib/fpc2/units/i386-linux/fv tfileio.pas Fatal: Can't find unit FileIO Fatal: Compilation aborted Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled) at@localhost fpc/fv/test 3 $ cd ../.. at@localhost ~build/fpc 3 $ at@localhost ~build/fpc 3 $ find -iname 'fileio*' at@localhost ~build/fpc 3 $ Походу пример outdated. Примеры я не собирал. > george@arnor:~/src/fpc-ex> fpcmake > Processing Makefile.fpc > Error: Target "linux", package "rtl" not found $ fpcmake Processing Makefile.fpc i386-linux requires: rtl,fv Writing Makefile $ Он работает. Собирает lazarus, но lazarus не работает!! Для x86_64 тоже забутстрапил, но peephole оптимизатор реализован только для i386, соответственно выигрыша от x86_64 большого не будет. Более того, на x86_64 не работает кросс-компиляция для win32 (потому что другой внутренний ассемблер).