Forum > Embedded - ARM
FPC cross compiler on Ubuntu18 to a Raspberry PICO.
(1/1)
pascalbythree:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---make crossinstall CPU_TARGET=ARM OS_TARGET=embedded SUBARCH=armv6m
Hey, in the mean while i am trying to install the FPC cross compiler on Ubuntu18 to a Raspberry PICO.
Does anybody have URL where the full command line option is? Like a mentioned above. To compile the compiler in the terminal? Greets, Wouter van Wegen
ccrause:
There recommended way to install PICO support is to use fpcupdeluxe, see this wiki page. Note that currently fpc needs a patch for PICO support, see this discussion. This means that you cannot simply build a cross compiler with PICO support, unless a few modifications to the compiler source code is made - at least that is my interpretation of the current status.
pascalbythree:
Anoy body knows a compile command to compile it by hand ?, i quited with fpcupdeluxe.
And i am also looking for command line string to let ppcrossarm compile to a PICO executable file.
8-)
Again, without the IDE
af0815:
use fpcupdeluxe sources to find out what it is doing. or use the output in very verbose mode. The ultimate source for cross compiling is here : http://www.stack.nl/~marcov/buildfaq.pdf
ccrause:
The RP2040 patches by Michael Ring is now available for testing here: https://gitlab.com/ccrause/fpc-source/-/tree/rp2040
To download the code and build the cross compiler with RP2040 support:
--- Code: Bash [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---$ git clone https://gitlab.com/ccrause/fpc-source.git$ cd fpc-source$ git checkout rp2040$ make buildbase CPU_TARGET=ARM OS_TARGET=embedded SUBARCH=armv6m The make command only has the very basic options, add cross options, install prefix and so forth as needed.
Navigation
[0] Message Index