a*******e 发帖数: 428 | 1 Hi, geeks,
Is there an easy way to develop Linux apps on Windows? I heard gcc +
cygwin (or MinGW) can do the job, but someone claims that cygwin or MinGW
are mainly for developing Windows apps on Linux. I am wondering if I can do
the reverse.
Any comments? | M**u 发帖数: 10158 | 2 vmware
do
【在 a*******e 的大作中提到】 : Hi, geeks, : Is there an easy way to develop Linux apps on Windows? I heard gcc + : cygwin (or MinGW) can do the job, but someone claims that cygwin or MinGW : are mainly for developing Windows apps on Linux. I am wondering if I can do : the reverse. : Any comments?
| g*********s 发帖数: 1782 | 3 virtual box. it's free.
+
MinGW
do
【在 a*******e 的大作中提到】 : Hi, geeks, : Is there an easy way to develop Linux apps on Windows? I heard gcc + : cygwin (or MinGW) can do the job, but someone claims that cygwin or MinGW : are mainly for developing Windows apps on Linux. I am wondering if I can do : the reverse. : Any comments?
| a*******e 发帖数: 428 | 4 I am actually thinking in the following way:
Since my purpose of developing is to develop a cross platform apps without
much GUI, using standard C/C++, I probably won't need much Linux tools, as
long as I refrain myself from using OS dependent libraries. So, if I just
use standard C/C++ language and gcc as the compilier, then if the program
created using MinGW runs well on Windows, the same code should run well on
Linux since gcc should not generate windows dependency.
Am I right?
【在 g*********s 的大作中提到】 : virtual box. it's free. : : + : MinGW : do
| s****n 发帖数: 786 | 5 用QT不就行了嘛,通吃
do
【在 a*******e 的大作中提到】 : Hi, geeks, : Is there an easy way to develop Linux apps on Windows? I heard gcc + : cygwin (or MinGW) can do the job, but someone claims that cygwin or MinGW : are mainly for developing Windows apps on Linux. I am wondering if I can do : the reverse. : Any comments?
| b******n 发帖数: 592 | 6 virtualbox is not only free, it is better than vmware from my experience.
vmware is also free.
one of my colleagues uses VS, and he add many ifdefs to our source, a bit
annoying. Unless you sort out platform free in your library deep down, the
system difference can cause a problem.
gcc is more flexible while VS has many restrictions on where to declare
variable. Maybe newer VS has changed. Still, I would much prefer to develop
on a Linux box.
【在 g*********s 的大作中提到】 : virtual box. it's free. : : + : MinGW : do
| a*******e 发帖数: 428 | 7 Thanks for every reply. But I might not have emphasized that the target
appliction should be cross-platform. So, even though virtual box or VMware
is a good choice for developing linux codes using Windows machine, but that
does not make sure the codes could be cross-platform.
How about make the machine dual OS: linux + Win7?
develop
【在 b******n 的大作中提到】 : virtualbox is not only free, it is better than vmware from my experience. : vmware is also free. : one of my colleagues uses VS, and he add many ifdefs to our source, a bit : annoying. Unless you sort out platform free in your library deep down, the : system difference can cause a problem. : gcc is more flexible while VS has many restrictions on where to declare : variable. Maybe newer VS has changed. Still, I would much prefer to develop : on a Linux box.
|
|