|
From: Wesley <man...@ya...> - 2004-11-24 20:37:36
|
I'm new to Dev-CPP and C/C++ in general, but I figured I would give it a go attempting to compile and understand the source code to an old program I found a few years back on Freshmeat. It is a small program that scans UseNet, downloads the binaries and forks off to run uudecode on said binaries. http://freshmeat.net/projects/bgrab/ The archive for version 1.3.6 is corrupt, however the 1.2.3 archive is not. I loaded main.cc into Dev-CPP and compiled it, but ran into errors regarding missing header files (netdb.h, wait.h, sys/socket.h along with a few others). I know that I'm trying to compile a program created primarily for use on UNIX on Windows, but as I understand it, Dev-CPP uses GCC. I know that the GCC supplied is compiled for Windows, but does that also mean that it is missing the header files from *NIX as well? Is there any way I could compile this small program with just minor modifications, or would I have to change the source to use the Windows TCP stack functions, not to mention any other functions that do not seem to be available to me currently? Thanks, Wes __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |