Home > OS > Ubuntu always execute a binary file: Exec format error, cross compiler installation failed
Ubuntu always execute a binary file: Exec format error, cross compiler installation failed
Time:11-15
Various methods are tried, online or not, strives for the big help
CodePudding user response:
You have to go to perform on the corresponding equipment
CodePudding user response:
Cross compiler is usually provided by the corresponding CPU manufacturers, compile environment above the CPU to the corresponding system of an executable program to use, not to install Your bomb above if it is a cross compiler, so in the host must be unable to perform the host If the arm - Linux - GCC is cross compile tools, so it is impossible to carry out that the cross compiler environment is not match with your system, there are two ways: 1, reinstall your system adapted the cross compiler, 2, ask for fit your system cross compile tools
CodePudding user response:
Mentioned above have omissions, cross compiler generally does not provide the source code, all don't need to install, and not all all don't need to install,
CodePudding user response:
May I have your this kind of situation is happened in WIN10 used to own Linux subsystem, adopting cross-compilation happen?