|
From: P.D. v. Z. <pd...@xs...> - 2002-11-23 00:16:54
|
Hi, I'm trying to write a program which should be able to compile on Linux using gcc (actually, g++, but still), as well as under Dev-C++ (that's my goal). It appears mingw (I suppose?) doesn't implement 'socket()' or any of these functions, and the only way I can develop my program at the moment, is by writing my code in Dev-C++, then using cygwin to compile it, and then in a command window execute the program to see if it all works well... seems to me like this could be done simpler.... for example, by hitting 'Compile' from within Dev-C++ :P I hope it's somehow possible to perform these socket calls and be able to compile the code from within the IDE (I think the ones that are giving the most trouble are "fnctl", "ioctl", "socket", "write" etc). Why oh why did I have to make this project cross-platform :| Anyway, I hope anyone can help me with this... or if someone could tell me "it can't be done" or anything. Thanks in advance, Paul |