User forums > Help
How to install C::B on cygwin?
stahta01:
--- Quote from: MortenMacFly on August 02, 2007, 07:51:06 am ---Why are you guys trying such??? :shock: :shock: :shock:
--- End quote ---
I did because I wanted a way to verify my patches to Code::Blocks did not break the configure make method used by Linux.
Also, tried to build Code::Blocks using configure make method under MSYS and failed also.
I have no idea why someone would use Cygwin to develop for Linux because there is many differences. More than I would have guessed till I tried testing the building of Code::Blocks under Cygwin.
Tim S
Biplab:
--- Quote from: cube1982 on August 02, 2007, 05:22:03 am ---If I build a program using Cygwin GCC via C::B under Windows, can that program run on Linux or Unix?
--- End quote ---
NO. It won't. But you can if you use cross-compiling tools (I don't know if they are available on Cygwin or not).
--- Quote from: stahta01 on August 02, 2007, 07:56:39 am ---
--- Quote from: MortenMacFly on August 02, 2007, 07:51:06 am ---Why are you guys trying such??? :shock: :shock: :shock:
--- End quote ---
I did because I wanted a way to verify my patches to Code::Blocks did not break the configure make method used by Linux.
--- End quote ---
I agree with Morten. There is no need to use Cygwin to build C::B. If you want to test that the patches you make works on Linux, I would recommend you to download & install VMWare and install a Linux distro in it. In that way you can be sure of the outcome. :)
stahta01:
--- Quote from: Biplab on August 02, 2007, 09:02:31 am ---I agree with Morten. There is no need to use Cygwin to build C::B. If you want to test that the patches you make works on Linux, I would recommend you to download & install VMWare and install a Linux distro in it. In that way you can be sure of the outcome. :)
--- End quote ---
FYI: I have been using andLinux to test it, but I thought it was worth a try doing Cygwin. I thought about doing an VMWare, but I had issues related to Windows XP. I really should re-format my PC, windows is acting unstable sometimes and VMware seems to not work to work with my current setup.
I am really thinking of using Linux and running Windows in a Virtual machine.
cube1982: Cygwin is not really for development of new Linux applications, but it is good for porting Linux applications to windows.
Tim S
cube1982:
I don't have a Linux OS installed, and I don't think I can install and learn it in a short period of time. So what's the best way, if any, to develop Linux applications under Windows?
yes, I m a newbie and really thank all you guys.
stahta01:
--- Quote from: cube1982 on August 02, 2007, 07:51:31 pm ---I don't have a Linux OS installed, and I don't think I can install and learn it in a short period of time. So what's the best way, if any, to develop Linux applications under Windows?
yes, I m a newbie and really thank all you guys.
--- End quote ---
The best way, to test your application, is to have an dedicated Linux machine(s) with the OS the same as the major target Linux distribution(s).
Next, is dual booting Linux on your PC for final testing of application.
Third, is using an Virtual machine under your Windows OS.
What do you know about Linux?
Do you know that Linux distributions very a lot?
Having one binary package for Linux distributions is very hard to do for complex applications and sometimes for simple applications.
What is the top three Linux distributions you are targeting?
Edit: I am trying out Cooperative Linux from http://sourceforge.net/projects/colinux/ to test Linux Builds right now.
It is a special type of Virtual machine solution, andLinux is based on an older version of Cooperative Linux.
Tim S
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version