Skip to content

编译后在armv7板子上运行时报错"illegal instruction" #143

Description

@Nick-Liang-2863

使用arm-linux-gnuebihf-gcc编译工程后,将install_linux-armv7-blank文件复制到开发板上,运行出现“illegal instructions",如图:

Image
我的编译环境设置如下:

Image
安装命令为:./install.sh --target=linux-armv7_blank

我试过用该交叉编译环境编译简单算术程序,可以成功在开发板上运行。

请问这个问题如何解决呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions