|
From: Luigi S. <gi...@li...> - 2003-05-13 12:09:23
|
On Tue, May 13, 2003 at 12:21:04AM +0200, Marcin Zy? wrote: > [...] > > I have got the C++ sources which I can compile successfully with gcc 3.2 at > Cygwin. I could be wrong here, but: are you sure the compiler you use with Cygwin is *version 3.2* of Gcc? Don't you get an error related to the header file "strstream" when using Gcc 3.2 under Cygwin? IMHO, You should, because the header "strstream" does not exist; generally, one has: - pre-ISO C++ compilers: "strstream.h" or "strstrea.h" (8-char issue) - ISO-C++: "sstream" > What changes should I make to these sources in order to compile them in > DevC++. No changes is required to the source files, as these are processed by the underlying compiler > > Does DevC++ 5.0 use gcc 3.2 ? AFAIK, you may set up any version of Dev-C++ to work with any version of Gcc, because, basically, what Dev-C++ uses is the name of the compiler (Gcc) and a few options, other stuff is under the control of the user. In principle, you may hack Dev-C++ (without recompilation ;-) to use other compilers too. > May I use gcc makefiles in DevC++ ? The answer is both: no and yes :-) - no because there doesn't seem to be (yet) an utility that converts makefiles into Dev-C++ project files - yes because you probably have the program Make (which comes with Gcc) and so can use the makefiles directly to compile your program -- >> gisan >> |