Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 4.9.y

1,345 bytes removed, 12:03, 10 May 2018
Prepare the environment
{{Message/Information Message|message=The following steps has been tested using '''Ubuntu 16.04''' and the '''4.9 version''' of the '''arm-linux-'''<span class="mw-headline">'''gnueabihf''' compiler</span>}}
<span class="mw-headline">In order First we have to compile set up the Linux Kernel Cross Compiler correctly if it is necessary to prepare a suitable work environment by checking . In this [[Set Up the compiler and its version Cross Compiler|post]] there are the correspondingsome steps that can be followed in order to do it. </span>
<span class="mw-headline">If we want to install a particular compiler, for example the 4.9 we can use the following commands to install it:<code></code></span>  <span class="mw-headline">sudo apt-get install g++-4.9-arm-linux-gnueabihf<br data-attributes="%20/">sudo apt-get install cpp-4.9-arm-linux-gnueabihf<br data-attributes="%20/">sudo apt-get install gcc-4.9-arm-linux-gnueabihf<br data-attributes="%20/">sudo apt-get install gcc-4.9-arm-linux-gnueabihf-base<code></code></span><span class="mw-headline">We can change between compilers using the following commands:</span>  <span class="mw-headline">sudo update-alternatives --set arm-linux-gnueabihf-g++ "/usr/bin/arm-linux-gnueabihf-g++-4.9"<br data-attributes="%20/">sudo update-alternatives --set arm-linux-gnueabihf-cpp "/usr/bin/arm-linux-gnueabihf-cpp-4.9"<br data-attributes="%20/">sudo update-alternatives --set arm-linux-gnueabihf-gcc-ar "/usr/bin/arm-linux-gnueabihf-gcc-ar-4.9"<br data-attributes="%20/">sudo update-alternatives --set arm-linux-gnueabihf-gcc-nm "/usr/bin/arm-linux-gnueabihf-gcc-nm-4.9"<br data-attributes="%20/">sudo update-alternatives --set arm-linux-gnueabihf-gcc-ranlib "/usr/bin/arm-linux-gnueabihf-gcc-ranlib-4.9"<br data-attributes="%20/">sudo update-alternatives --set arm-linux-gnueabihf-gcov "/usr/bin/arm-linux-gnueabihf-gcov-4.9"</span><span class="mw-headline">In addition is necessary we can install this extra packages that could be necessaries: </span>
<span class="mw-headline">sudo apt-get install libc6-armel-cross libc6-armhf-cross libc6-dev-armel-cross libc6-dev-armhf-crossbinutils-arm-linux-gnueabihf libncurses5-dev<br></span>
59
edits