Hi all - my first topic, please be gentle!
I'm habitually a windows user... well, I was until I got a shiny new Open Pandora handheld console and decided I really, really wanted to port my Delphi apps to it. I'm now running Debian Squeeze in a VirtualBox machine on my Win7 host. Given that I've not been using linux for long, I was very pleased to get be able to use the installation tutorial
on the wiki relatively easily.
The result is that my most complex app, a BASIC interpreter builds and runs very nicely on the ARM-powered Pandora! Yay, go me
I was very careful when writing the app to make it as non-Delphi/Windows dependent as possible, and it's paid off.
But anyway, onto my question.
The Pandora's CPU is quite a recent ARM and supports NEON floating-point operations. As my interpreter relies heavily on floating point, I'd like to build it with NEON floating point operations enabled. This doesn't seem to be available as a default. I tried inserting the parameters into the command line when building (-Cfneon, iirc) which doesn't appear to work on FPC 2.4.2.
I surmised that maybe these options were not available in that version of FPC, so I'm just reinstalling Debian - I have no idea how to uninstall FPC - and having a bash at installing Lazarus/FPC for ARM using FPC 2.5.1, which from the information I've read should support NEON. My question (finally) is this:
How do I modify the "Lazarus_first_time" script to build a NEON capable FPC/Lazarus build, and enable NEON in my application?
Bear in mind that although I'm not averse to modifying and running scripts in a terminal, I'm only a windows user starting out in linux, and will need very explicit instructions.
Can anyone help me please?
Cheers,
D.