tce-load -i compiletc bash fpc [use copy2fs for fpc] cd fpc-3.0.4 patch -Np1 -i ../fpc-3.0.0_linker.patch cd / sudo ln -s lib lib64 cd /usr sudo ln -s lib lib64 make clean all OS_TARGET=linux CPU_TARGET=x86_64 FPC=ppcx64 NOGDB=1 [OVERRIDEVERSIONCHECK=1] [1m 33.80s] sudo make OS_TARGET=linux CPU_TARGET=x86_64 FPC=ppcx64 NOGDB=1 install cd /usr/local/bin sudo ln -s ../lib/fpc/3.0.4/ppcx64 ./ [without lib64 links] /usr/src/fpc-3.0.2/compiler/ppcx64 fpmake.pp -Fu/usr/src/fpc-3.0.2/packages/fpmkunit/units_bs/x86_64-linux -Fu/usr/src/fpc-3.0.2/rtl/units/x86_64-linux /usr/local/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init': (.text+0x21): undefined reference to `_init' fpmake.pp(47,1) Error: Error while linking fpmake.pp(47,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [Makefile:1659: fpmake] Error 1 make[2]: Leaving directory '/usr/src/fpc-3.0.2/packages' make[1]: *** [Makefile:2615: packages_smart] Error 2 make[1]: Leaving directory '/usr/src/fpc-3.0.2' make: *** [Makefile:2818: build-stamp.x86_64-linux] Error 2