Another install update for deploying projects on BBB running Arch Linux hardfloat.
CodeTyphon is a nice IDE, based on FPC and Lazarus, with lots of utilities.
Unfortunately, I could not get it to crosscompile from Win8 to BBB.
(wrong EABI-version, errors on scrollbars, ...)
Solution: use the binutils from Reiniero, and make some changes to a script.
Install a clean CodeTyphon.
http://www.pilotlogic.com/sitejoom/index.php/downloads/viewcategory/30-codetyphonCopy the arm-linux directory from Reiniero's binutils to CodeTyphon "binToolchains/win32-arm-linux--eabi5" directory.
https://bitbucket.org/reiniero/fpcup/downloads/CrossFPC_binutils_libs.7zMake the following changes to the script "x_FPC_Build_Cross.bat" inside "ScriptsWin/Crossbuild":
Inside Stage 1:
START /D C:\codetyphon\fpcsrc\ /B /WAIT C:\codetyphon\fpc\bin\%2\make.exe all CPU_TARGET=%4 OS_TARGET=%5 BINUTILSPREFIX=%4-%5- OPT="-dFPC_ARMHF" FPC=%3.exe
Inside stage 2:
START /D C:\codetyphon\fpcsrc\ /B /WAIT C:\codetyphon\fpc\bin\%2\make.exe -C rtl clean CPU_TARGET=%4 OS_TARGET=%5 BINUTILSPREFIX=%4-%5- OPT="-dFPC_ARMHF" FPC=%6.exe
START /D C:\codetyphon\fpcsrc\ /B /WAIT C:\codetyphon\fpc\bin\%2\make.exe -C packages clean CPU_TARGET=%4 OS_TARGET=%5 BINUTILSPREFIX=%4-%5- OPT="-dFPC_ARMHF" FPC=%6.exe
START /D C:\codetyphon\fpcsrc\ /B /WAIT C:\codetyphon\fpc\bin\%2\make.exe rtl packages CPU_TARGET=%4 OS_TARGET=%5 BINUTILSPREFIX=%4-%5- OPT="-dFPC_ARMHF" FPC=%6.exe
As you can see, in fact, 4 very simple changes: add OPT="-dFPC_ARMHF" to enable hardfloat.
(I use Arch Linux hardfloat for the BBB).
Run CodeTyphon (control center) as Administrator, goto CrossBuild / FreePascal and run "build cross element arm-linux--eabi5".
When using Typhon to build a BBB project, use the same compiler options & settings & library path as when using fpcup for BBB on Arch (described in a previous message).
Again, this worked for me, for a BBB running Arch Linux.
I hope it will work for you too !