Home > OS >  For Windows 10 subsystem Ubuntu installation problems arm - lunux - GCC
For Windows 10 subsystem Ubuntu installation problems arm - lunux - GCC

Time:09-27

Learning embedded driver now, some time ago to know the original Windows 10 below can be directly run Linux, installed Ubuntu, but just at the time of loading arm - Linux - GCC appeared now such a problem, prompt
The version of ubuntu is 16.04.3 LTS

32-bit library lib32ncurses5 and lib32z1 also installed or have the problem, have know how did that happen?
Some guidance.
Arm - Linux - GCC - v tips when
Liu @ DESKTOP - FIHTOKL: ~ $arm - Linux - GCC -v
/usr/local/arm/4.4.3/bin/arm - Linux - GCC: line 15:/usr/local/arm/4.4.3./bin/arm - none - Linux - gnueabi - GCC: always execute a binary file: Exec format error
/usr/local/arm/4.4.3/bin/arm - Linux - GCC: line 15:/usr/local/arm/4.4.3./bin/arm - none - Linux - gnueabi - GCC: Success


CodePudding user response:

Installation of arm - Linux - GCC 4.4.3

CodePudding user response:

Ubuntu installation cross compiler and a simple solution is installed directly online, so you don't need to compile the:
Sudo apt - get the install GCC - arm - Linux - gnueabihf

CodePudding user response:

Ubuntu 16.04 has compiled the arm - Linux - gnueabi - GCC, choose a install yourself.
Hard - float 4.9:
Sudo apt - get the install GCC - 4.9 - arm - Linux - gnueabihf

Soft - float 4.9:
Sudo apt - get the install GCC - 4.9 - arm - Linux - gnueabi

Hard - float 5. X:
Sudo apt - get the install GCC - arm - Linux - gnueabihf

Soft - float 5. X:
Sudo apt - get the install GCC - arm - Linux - gnueabi

CodePudding user response:

Could be back to the late now, behind to search to see friends, I also am win10 subsystem, ubuntu 18.04, it's the same error, check a lot of finally found solution to copy the following
1 sudo apt update
2 sudo apt install qemu - user - static
3 sudo update - binfmts -- install i386/usr/bin/qemu - i386 - static - the magic '\ x7fELF \ x01 \ x01 \ x01 \ x03 \ x00 \ x00 \ x00 \ x00 \ x00 \ x00 \ x00 \ x00 \ x03 \ x00 \ x03 \ x00 \ x01 \ x00 \ x00 \ x00' - mask '\ XFF \ XFF \ XFF \ XFF \ XFF \ XFF \ XFF \ XFC \ XFF \ XFF \ XFF \ XFF \ XFF \ XFF \ XFF \ XFF \ xf8 \ XFF \ XFF \ XFF \ XFF \ XFF \ XFF \ XFF'

The original address
https://www.cnblogs.com/JiuHuan/p/10073632.html
  • Related