简体   繁体   English

Linux + Qt映像

[英]Linux + Qt image

I am using Samsung ARM Cortex A9 Exynos4412 board.I boot "linux + Qt" img on the board. 我正在使用Samsung ARM Cortex A9 Exynos4412开发板。我在开发板上启动“ linux + Qt” img。 But there is no package manager on the board and no make , gcc commands.In /bin file there is file BusyBox I searched it they say swiss army knife of embedded linux but there is no opkg , apt-get , make, gcc or g++ commands on the board.How can I set these commands to my linux board. 但是板上没有软件包管理器,也没有make,gcc命令。在/ bin文件中有BusyBox文件,我搜索了他们说嵌入式Linux的瑞士军刀,但是没有opkg,apt-get,make,gcc或g ++板上的命令。如何将这些命令设置到我的linux板上。 Thank for your help. 谢谢您帮忙。

There is two main ways: 主要有两种方法:

1) If you are lucky, and your's board supplier provides set of pre-compiled packages, you can download sources of package managers (like opkg), cross-compile them on PC, copy to your board and then use pre-compiled packages. 1)如果幸运的话,您的电路板供应商提供了一套预编译的软件包,则可以下载软件包管理器的源代码(如opkg),在PC上进行交叉编译,复制到您的电路板上,然后使用预编译的软件包。
2) If there is no such ability, then you can download sources of any utility you need (google can help to find), cross-compile on PC, copy to your board and then use. 2)如果没有这种功能,则可以下载所需的任何实用程序的源代码(谷歌可以帮助您找到),在PC上交叉编译,复制到您的开发板上然后使用。

Of cource, you need proper cross-compiler (for instance, CodeSourcery toolchain from Mentor Graphics). 当然,您需要适当的交叉编译器(例如,Mentor Graphics的CodeSourcery工具链)。

Yeah I find that in BusyBox there is a "rpm" command kind of package manager.I get gcc files with "wget" command then rpm them but Actually problem is executable gcc doesnt compile.For example I tried to laod OpenSSH , "./configure" finds gcc but doesnt compile. 是的,我发现在BusyBox中有一种“ rpm”命令的程序包管理器。我使用“ wget”命令获取gcc文件,然后对其进行rpm转换,但实际上问题是可执行文件gcc无法编译。例如,我试图装载OpenSSH,“ ./配置”找到gcc,但未编译。 If I can work with gcc I can easily install make command and openssl. 如果我可以使用gcc,则可以轻松安装make命令和openssl。

I try to cross-compile it thanks. 我尝试交叉编译,谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM