Executing from alternative partitions

Discussion and questions about programming with Ultibo.
PaulBreneman
Posts: 41
Joined: Thu May 12, 2016 3:35 am
Location: Ohio, USA
Contact:

Re: Executing from alternative partitions

Postby PaulBreneman » Sat Sep 21, 2019 1:56 am

PaulBreneman wrote:Just created this wiki page: https://wiki.freepascal.org/Ultibo_Quick_Start


Could you please ask if want to install Lazarus earlier in the script so don't need to install these:
sudo apt install libgtk2.0-dev libghc-x11-dev binutils-arm-none-eabi (temp to install 170 packages until script is fixed so don't need these)

Also, why does it ask for binutils-arm-none-eabi (rather than native binutils) since running on that?
User avatar
Ultibo
Site Admin
Posts: 2303
Joined: Sat Dec 19, 2015 3:49 am
Location: Australia

Re: Executing from alternative partitions

Postby Ultibo » Tue Sep 24, 2019 11:37 pm

PaulBreneman wrote:Could you please ask if want to install Lazarus earlier in the script so don't need to install these:
sudo apt install libgtk2.0-dev libghc-x11-dev binutils-arm-none-eabi (temp to install 170 packages until script is fixed so don't need these)

Okay, we've updated the script to prompt much earlier for the Lazarus option and then not bother with those dependencies if the answer is no, please test and let us know if that resolves the problem.

PaulBreneman wrote:Also, why does it ask for binutils-arm-none-eabi (rather than native binutils) since running on that?

As noted on the Wiki page, we use arm-none-eabi because the version installed in Raspbian is arm-linux-gnueabi which is configured for what Linux requires rather than what bare metal requires.

There used to be a page at Linaro that explained some of the differences, the best link I can find right now is to a Stack Overflow post that discusses the issue. Essentially the important element in our case is that we use Newlib not glibc for our external library integrations so we prefer a toolchain that is configured for that.
Ultibo.org | Make something amazing
https://ultibo.org

Return to “General”

Who is online

Users browsing this forum: No registered users and 39 guests