gpt4 book ai didi

linux - 无法使用 Eclipse 在 Windows 上编译 Linux

转载 作者:太空宇宙 更新时间:2023-11-04 13:03:05 25 4
gpt4 key购买 nike

我正在尝试使用 eclipse 在 Windows PC 上编译 Linux 内核。我将项目创建为 Makefile Project with Existing Code 。当我尝试构建 Linux 时,出现以下错误

(Cannot run program "make": Launching failed)

如何在 Windows 上为 x86 编译 Linux。

最佳答案

Eclipse 从构建 windows 上的 linux 内核 的角度来看,只需单击“编译”按钮即可调用“make.exe”。

要构建成功,您需要安装所有工具,例如编译器、GNU make、可能是 perl,可能是一些 POSIX 实用程序。从安装 GNU make 开始你的旅程: http://gnuwin32.sourceforge.net/packages/make.htm

然后从 cmd.exe 运行它,make 会告诉你类似“gcc”的东西没有找到,然后安装gcc等等。

关于linux - 无法使用 Eclipse 在 Windows 上编译 Linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33412376/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com