为 SUSE Linux 安装 MinGW

发布于 2024-07-25 06:31:17 字数 1539 浏览 8 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

葵雨 2024-08-01 06:31:17

您所需要的只是三个命令:

zypper ar http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.3/ mingw
zypper mr -r mingw # this makes the repository auto-refresh on next zypper operations
zypper install mingw32-libqt4-devel

将 11.3 更改为您拥有的 openSUSE 版本。

通过该工具链编译的 .exe 的依赖关系可以通过从 /usr/i686-pc-mingw32/sys-root/i686-pc-mingw32/bin/ 目录获取 .dll 文件来解决。

All you need is just three commands from you:

zypper ar http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.3/ mingw
zypper mr -r mingw # this makes the repository auto-refresh on next zypper operations
zypper install mingw32-libqt4-devel

change 11.3 to to the openSUSE version you have.

The dependencies for .exe compiled through that toolchain can be resolved by fetching .dll files from /usr/i686-pc-mingw32/sys-root/i686-pc-mingw32/bin/ directory.

蔚蓝源自深海 2024-08-01 06:31:17

Fedora 11 附带 MinGW 交叉编译器(mingw32-gcc、mingw32-g++ 等)和 Qt 的 Win32 软件包(mingw32-qt)。 您可以尝试使用 Fedora 而不是 SUSE,或者通过一些哄骗,这些软件包可以安装在 SUSE 上。

Fedora 11 comes with the MinGW cross compiler (mingw32-gcc, mingw32-g++, etc.) and Win32 packages for Qt (mingw32-qt). You could try using Fedora instead of SUSE, or the packages may install on SUSE with a bit of coaxing.

层林尽染 2024-08-01 06:31:17

没有链接。 MinGW(适用于 Windows 的简约 GNU)是特定于平台的且仅限于 Windows。 在 SUSE 上,所需的编译器 GCC 及其所有依赖项应该已经存在,因此 MinGW 是不必要的那里。

对于 Linux 版 Qt,请访问 Trolltech 下载页面

There is no link. MinGW (Minimalist GNU for Windows) is platform specific and Windows-only. On SUSE, the required compiler GCC and all its dependencies should already be present, so MinGW is unneccessary there.

For Qt for Linux, head over to the Trolltech Download page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文