VMWare Workstation Guest 的 Linux 发行版是什么?

发布于 2024-12-18 09:22:57 字数 1953 浏览 5 评论 0原文

我已经与 UNIX 实用程序战斗了一整天 - 如果我显得很困惑,那么抱歉!我正在描述我痛苦且(到目前为止)毫无成果的过程,因为也许有人会纠正我,或者描述这个过程可能会对以后的某人有所帮助。如果您想跳过此问题,请在下面以粗体显示该问题。

所以我正在尝试转换使用kdevelop开发的Linux程序。我正在尝试使其在 Windows 7 上运行。(这是 SHoUT 演讲此处提到过,由 Marijn Huijbregts)。

我浪费了半天时间试图在 Windows 上安装 kdevelop,结果发现 kdevelop 不能在 Windows 上运行,而我一直在安装 KDE :( (如果 kdevelop 可以在 Windows 上运行,信息会很高好的

,所以遵循 SO 的建议 最好环境为了将 C/C++ 代码从 Linux 移植到 Windows,我安装了 MinGW32,却发现 SHoUT 的 makefile 包含 aclocal、autoheader 等目标。 - 我遇到了迄今为​​止未知的

“http://en.wikipedia.org/wiki/GNU_build_system” rel="nofollow noreferrer">GNU 构建系统我正在安装 href="http://gnuwin32.sourceforge.net/" rel="nofollow noreferrer">GnuWin32 使用 GetGnuWin32 这需要几个小时,而且我怀疑一旦完成,我会偶然发现其他东西。

痛苦的一天 - 仍然没有编译任何代码行:((。

所以,我正在考虑另一种方法:安装 Linux 并运行 kdevelop 作为交叉编译器来编译到 Windows。因为这是一个控制台应用程序,也许 。

最后,我的问题

如果我想在 VMWare Workstation(8,在 Windows 7 主机上运行)中安装 Linux guest,我知道我需要一个“发行版” 明白有很多发行版,有些是免费的,有些是付费的。

我应该选择哪个发行版来运行 kdevelop 并且尽可能简单?我只想#@$$ing 编译,我不能再忍受这样的一天了......

Avi

编辑:

我尝试使用 VS 编译代码 - Linuix/GCC 和 windows/MSVC 之间有很多差异,而且这是其他人开发的代码,我什至不确定该程序是否能解决业务。所以需要。我决定采用以下流程:

  1. 配置 Linux 并在 Linux 上运行软件,
  2. 验证该程序可以解决业务规则。如果不是 - 中止。
  3. 尝试在 Linux 上进行交叉编译。如果在 Windows 上运行,请通过将输出与在 Linux 上获得的输出进行比较来进行验证。如果好-完成。
  4. 尝试使用移植的 Windows 版本的 GNU Build 工具在 Windows 上进行编译。利用在 Linux 目标上构建时获得的理解和价值观。如果好-完成。否则
  5. ,中止并尝试另一种解决方案来解决业务问题,或者尝试 MS 工具(再次使用在 Linux 目标上构建时获得的理解和值)。

I've been fighting a whole day with UNIX utilities - so sorry if I appear confused! I'm describing my painful and (so far) fruitless process a little because maybe someone may correct me, or maybe describing the process might be helpful to someone later on. If you want to skip this, the question is bolded below.

So I'm trying to convert a Linux program developed using kdevelop. I'm trying to make it run on Windows 7. (This is the SHoUT Speech Took mentioned here, developed by Marijn Huijbregts).

I've wasted half a day trying to install kdevelop on Windows, only to understand that kdevelop can't run on Windows and that I've been installing KDE all that time :( (If kdevelop CAN run on Windows, information would be highly appreciated).

OK, so following the advice in SO's Best environment to port C/C++ code from Linux to Windows, I installed MinGW32 only to find out that SHoUT's makefile contains targets such as aclocal, autoheader etc. - I've come face to face with the hitherto unknown GNU Build System.

I'm now in the middle of installing GnuWin32 using GetGnuWin32. This is taking hours. And I suspect that once it finishes, I'll stumble on something else.

A day of pain - and still not one code line compiled :((.

So, I'm thinking about an alternative approach: Install Linux and run kdevelop as a cross-compiler to compile to Windows. As this is a console application, MAYBE it'll be easier.

So, finally, my question:

If I want to install Linux guest in VMWare Workstation (8, running on Windows 7 host), I understand I need a "distribution". I understand there's a ton of distributions, some free, some paid.

Which distribution should I choose which would run kdevelop and be as simple as possible? I just want to #@$$ing compile, and I can't stand one more day like this...

Avi

Edit:

I've tried compiling the code using VS - very tedious. Many differences between Linuix/GCC and windows/MSVC. Moreover, this is code deveoped by someone else, and I'm not even sure that the program sovles the business needs. So I've decided on the following process:

  1. Configure Linux and run the software on Linux.
  2. Validate that program solves business rule. If not - Abort.
  3. Try cross oompiling on Linux. If running on Windows, verify by comparing outputs to those obtained on Linux. If good - Done.
  4. Try compiling on Windows using ported Windows versions of the GNU Build tools. Use understanding and values obtained from building on the Linux target. If good - Done. Else
  5. Abend and try another solution to the business problem, or try the MS tools (again using understanding and values obtained from building on the Linux target).

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

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

发布评论

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

评论(5

独自唱情﹋歌 2024-12-25 09:22:57

许多分布都是可能的。 Mandriva 基于 KDE。

但您也可以安装 Debian 发行版,并在其中安装 KDE。

我建议联系 ShOUT 项目社区。

Many distributions are possible. Mandriva is KDE based.

But you can also install a Debian distribution, and install KDE in it.

I suggest to contact the ShOUT project community.

灼疼热情 2024-12-25 09:22:57

你不应该交叉编译。 MinGW 可以派上用场,但这不是必需的。您需要的是将代码及其依赖项移植到 Windows,例如,如果您使用 Visual Studio,则没有任何问题。

You should not cross-compile. MinGW can come handy but it is not required. What you need is to port the code and its dependencies to Windows, and there is nothing wrong if you use Visual Studio, for example.

青衫儰鉨ミ守葔 2024-12-25 09:22:57

不要安装Linux!如果您是第一次这样做,这将花费您半天的时间并在此处提出其他问题。

只需安装 VirtualBox 并从某个站点获取一些 VirtualBox 映像即可。 Kubuntu 应该可以与您的 KDE 一起正常工作: http://virtualboxes.org/images/kubuntu/

只需 5 分钟即可让您运行 KDE Linux。

Please DON'T install Linux! It will take you another half a day and another questions asked here if you're doing it for the first time.

Just install VirtualBox and grab some VirtualBox image from some site. Kubuntu should be working fine with your KDE stuff: http://virtualboxes.org/images/kubuntu/

It will get you a running KDE Linux in just 5 minutes.

深空失忆 2024-12-25 09:22:57

我在 VirtualBox OSE 上使用 Ubuntu,并通过它使用 kdevelop 并且它可以无缝运行。或者你可以尝试 kubuntu。

为什么选择 VirtualBox OSE - 免费、成熟

I am using Ubuntu on VirtualBox OSE and through it use kdevelop and it runs seamlessly. Alternatively you can try kubuntu.

Why VirtualBox OSE - Free, Mature

猫卆 2024-12-25 09:22:57

在 Windows 上使用 MinGW 编译比在 Linux 上交叉编译更容易。

构建系统...编写您自己的系统可能非常容易。比实际移植 C++ 代码容易得多。可能比使用 GNU 构建系统更容易。

It is easier to compile with MinGW on Windows than cross compile on Linux.

Build system... It could be quite easy to write Your own. Much easier than actual porting of C++ code. Could be even easier than using GNU Build System.

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