最佳环境,端口C / C ++ $ C $从Linux下C到Windows [英] Best environment to port C/C++ code from Linux to Windows

查看:154
本文介绍了最佳环境,端口C / C ++ $ C $从Linux下C到Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想提出我的一个大项目在Windows平台上的可建。
项目本身它是用C / C ++以下POSIX标准,有一些库的依赖,如libxml2的,的libcurl等。
我更一个Linux开发人员,而不是一个Windows开发人员,所以我不知道该编译器套件的我应该使用端口code。
哪一个提供用gcc 4.4.3我现在使用更多的兼容性如何?

I'd like to make a big project of mine buildable on Windows platforms. The project itself it's written in C/C++ following POSIX standards, with some library dependencies such as libxml2, libcurl and so on. I'm more a Linux developer rather than a Windows developer, so i have no idea of which compiler suite i should use to port the code. Which one offers more compatibility with gcc 4.4.3 i'm using right now?

我的项目需要flex和野牛,有没有准备使用的环境来港这样的项目,Windows平台?

My project needs flex and bison, is there any "ready to use" environment to port such projects to windows platforms?

感谢。

推荐答案

如果是我的话,我会安装以下软件:

If it were me, I would install the following:


  • 暮光龙(这仅仅是在4.4.1在present,但我猜它会满足您的需求,我发现它是非常可靠的)

  • MinGW port of the GCC compiler from Twilight Dragon (this is only at 4.4.1 at present, but I'd guess it will meet your needs, and I've found it to be very reliable)

从<一的MSYS环境(庆典等适用于Windows) href=\"http://sourceforge.net/apps/mediawiki/cobcurses/index.php?title=Install-MSYS\">http://sourceforge.net/apps/mediawiki/cobcurses/index.php?title=Install-MSYS

等工具对柔性从 http://gnuwin32.sourceforge.net/

这实际上是我做我自己的编程环境,它工作得很好。如果你想要一个IDE,我建议你 code :: Blocks的,但两者的 gvim的和Emacs可用于Windows太

This is effectively the environment I do my own programming in, and it works very well. If you want an IDE, I'd recommend Code::Blocks, but both gvim and emacs are available for Windows too.

这篇关于最佳环境,端口C / C ++ $ C $从Linux下C到Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆