with two patches in my ebuild file I was able to compile the latest fpc 
snapshot on funtoo on the Odroid U2

In the compile section I pointed to the 2.6.2 fpc compiler

        emake -j5 OPT='-dFPC_ARMHF' PP=/usr/bin/ppcarm_2.6.2 compiler_cycle

and in the install section I had to change the location where to find fpcmake, 
the original /utils/fpcm/fpcmake location was generating errors


        set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/bin/arm-linux/fpcmake" \
            INSTALL_PREFIX="${D}"usr \
            INSTALL_DOCDIR="${D}"usr/share/doc/${PF} \
            INSTALL_MANDIR="${D}"usr/share/man \
            INSTALL_SOURCEDIR="${D}"usr/lib/fpc/${PV}/source


Michel

-- 
For Linux Software visit
http://home.comcast.net/~mcatudal

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to