Dev/Embedded/CrossCompile: Difference between revisions
Jump to navigation
Jump to search
(Created page with "https://wiki.debian.org/fr/Multiarch/HOWTO dpkg --print-foreign-architectures dpkg --add-architecture <arch> apt-get install binutils-aarch64-linux-gnu cpp-aarch64-linux-gnu gcc-aarch64-linux-gnu libc6-dev:arm64 apt-get install bison flex apt-get install libncurses-dev for uboot : apt-get install python3-setuptools swig libgnutls28-dev libssl-dev for mtd images creation : apt-get install mtd-utils squashfs-tools https://wiki.debian.org/Multiarch/Implementation") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''!!!!!!!!!!!!!!!!!!!!! Ongoing work : This is only a collection of notes right now '''!!!!!!!!!!!!!!!!!!!!! | |||
== The basics == | |||
== Installation == | |||
=== (Cross-)Compiler part === | |||
apt-get install binutils-aarch64-linux-gnu cpp-aarch64-linux-gnu gcc-aarch64-linux-gnu libc6-dev:arm64 | |||
=== Add architecture support === | |||
dpkg --print-foreign-architectures | dpkg --print-foreign-architectures | ||
dpkg --add-architecture <arch> | dpkg --add-architecture <arch> | ||
apt-get install | === Add libs === | ||
apt-get install bison flex | apt-get install libc6-dev:arm64 | ||
apt-get install libncurses-dev | |||
=== Add tools for specific projects === | |||
for the Linux Kernel : | |||
apt-get install bc bison flex | |||
apt-get install libncurses-dev libssl-dev | |||
for uboot : | for uboot : | ||
apt-get install python3-setuptools swig libgnutls28-dev libssl-dev | apt-get install python3-setuptools swig libgnutls28-dev libssl-dev | ||
for mtd images creation and manipulation : | |||
for mtd images creation : | |||
apt-get install mtd-utils squashfs-tools | apt-get install mtd-utils squashfs-tools | ||
https://wiki.debian.org/Multiarch/Implementation | == Some more == | ||
* https://wiki.debian.org/Multiarch/Implementation | |||
* https://wiki.debian.org/fr/Multiarch/HOWTO |
Latest revision as of 12:51, 6 December 2024
!!!!!!!!!!!!!!!!!!!!! Ongoing work : This is only a collection of notes right now !!!!!!!!!!!!!!!!!!!!!
The basics
Installation
(Cross-)Compiler part
apt-get install binutils-aarch64-linux-gnu cpp-aarch64-linux-gnu gcc-aarch64-linux-gnu libc6-dev:arm64
Add architecture support
dpkg --print-foreign-architectures dpkg --add-architecture <arch>
Add libs
apt-get install libc6-dev:arm64
Add tools for specific projects
for the Linux Kernel :
apt-get install bc bison flex apt-get install libncurses-dev libssl-dev
for uboot :
apt-get install python3-setuptools swig libgnutls28-dev libssl-dev
for mtd images creation and manipulation :
apt-get install mtd-utils squashfs-tools