Thank you very much Ian, I'm looking forward to it!IanLinsdell wrote:Have just built a cross compile version of gdb (softfp), will also build hardfp version and upload as soon as I get time.
It doesn't matter which PPL version I select from crosstool-ng menu or which GCC flavour. Did you have the same error?[ERROR] make: *** [Grid_Generator_System.lo] Error 1
[ALL ] In file included from /myCross/.build/src/ppl-0.11.1/src/Init.defs.hh:84,
[ALL ] from /myCross/.build/src/ppl-0.11.1/src/Init.cc:26:
[ALL ] /myCross/.build/src/ppl-0.11.1/src/Init.inlines.hh: In function `void Parma_Polyhedra_Library::restore_pre_PPL_rounding()':
[ERROR] /myCross/.build/src/ppl-0.11.1/src/Init.defs.hh:78: error: `Parma_Polyhedra_Library::fpu_rounding_direction_type Parma_Polyhedra_Library::Init::old_rounding_direction' is private
[ERROR] /myCross/.build/src/ppl-0.11.1/src/Init.inlines.hh:42: error: within this context
[ALL ] /myCross/.build/src/ppl-0.11.1/src/checked.inlines.hh:632: confused by earlier errors, bailing out
[ALL ] Makefile:1158: recipe for target `Init.lo' failed
Thank you very much for your efforts, I'll test the hardfp ASAP.IanLinsdell wrote:Humm... I did not have that error with PPL,(CT_PPL_VERSION="0.11.2")
There is a softfloat version of the crosscompiler and gdb now at: https://github.com/IanLinsdell/Raspberrypi
I was unable to use the Linario compiler as I was continually getting URL error when trying to pull source from the Linario repository.
I looked at their site and it looked like they had chosen to maintain the cross compile environment themselves with their own version of crosstool-ng which might explain the error when crosstools tried to download.
Here we got It took me a while to write everything down, I sincerely hope I did not miss anything important.IanLinsdell wrote:Hi Dexterp37,
Glad the GDB worked out.
I would be interested in your gdb tutorial and Eclipse settings.
Would be great if you could post it when you are done ?
Do you think it would be cheating to write the programme using Lazarus in windows and then install and use it with Lazarus on the RasPi?Toad King wrote:Does anybody know of any method for cross-compiling Ras-Pi programs/libraries from Windows? I know there are some Linux/Unix methods, but I can't find any from Windows. Am I going to be forced to use a virtual machine for it?
So, where do I get this "cross-arm-gcc-softfp V1" package?CopperPhil wrote:Hi Dexterp37,
- install Eclipse with CDT
- install Cygwin
- extract cross-arm-gcc-softfpV1 somewhere (let's say in "...\toolchain")
Exactly where do we get the Cross Compiler?IanLinsdell wrote:
2. Extract the cross compiler (If usnig QEMU to test your app use the soft float version) into the /opt
directory. e.g. C:\cygwin\opt\
Your expanded cross compiler should be expanded into the following directory: