reticulatedpines / magiclantern_simplified

A Git based version of Magic Lantern, for those unwilling or unable to work using Mercurial. The vast majority of branches have been removed, with those thought to be important brought in individually and merged.
GNU General Public License v2.0
142 stars 50 forks source link

Guide : build magiclantern on Ubuntu 22.04 LTS #64

Closed laurentdebricon closed 1 year ago

laurentdebricon commented 1 year ago

Compilation guide largely inspired by the github action : https://github.com/reticulatedpines/magiclantern_simplified/pull/63/files so much old info from google, this guide tries to fix that. Thanks for this repo.

sudo apt-get install python2 libc6:i386 libncurses5:i386 libstdc++6:i386 autoconf python2.7-minimal wget gcc build-essential mercurial libtool git libglib2.0-dev libpixman-1-dev zlib1g-dev libgtk2.0-dev xz-utils mtools netcat-openbsd lua5.4

wget https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-update/+download/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2
tar -xvf gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2
mv gcc-arm-none-eabi-5_4-2016q3 ~/

git clone https://github.com/reticulatedpines/magiclantern_simplified.git
cd magiclantern_simplified
make

make should output on first line : Using /home/myuser/gcc-arm-none-eabi-5_4-2016q3-old/bin/arm-none-eabi-gcc (found in home directory).