Re: [Dev-C++] How: cygwin-gcc as compiler for Dev-C++?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Hongli L. <h....@ch...> - 2002-06-14 21:16:31
|
A. Klingenstein wrote: >I want to write a program which has to run under *nix and win32. It's network related daemon which >uses socket.h and pthreads, and Dev-C++ seems to be the best IDE for gcc on win32 > >I tried to compile the win32 commandline project template with cygwin by choosing >"use cygwin instead of the mingw compiler" and put my d:\lang\cygwin\bin" into >Directories/Binaries. I even removed the mingw binary-directory from there >Whatever I do, Dev-C++ still uses either mingw compiler or no compiler at all. > >So how do I get Dev-C++ to use cygwin? Or if this is not possible, is there another >IDE which can use cygwin? >Mingw is not an option since it's too win32-centric for this project (winsock2 is just >not available on Linux) > >Alex > > > > Open bash and do make -f Makefile.win It will automatically compile using Cygwin's GCC. |