dev-cpp-users Mailing List for Dev-C++ (Page 416)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Francisco V. <fco...@pr...> - 2003-03-22 05:37:38
|
Hi: How can I make a .def file? |
|
From: Ken M. <gr...@ta...> - 2003-03-22 05:04:41
|
Hey all,
I've been having problems compiling a test program that comes with the
CVS build of SDL (for those of you familiar with it)... My problem is
that a function in the source uses the not-operator ( ! ) on non-bool
datatypes... Can C++ not use this operator on non-bool?
void HotKey_ToggleGrab(void)
{
SDL_GrabMode mode;
printf("Ctrl-G: toggling input grab!\n");
mode = SDL_WM_GrabInput(SDL_GRAB_QUERY);
if ( mode == SDL_GRAB_ON ) {
printf("Grab was on\n");
} else {
printf("Grab was off\n");
}
mode = SDL_WM_GrabInput(!mode); /* Error occurs here */
if ( mode == SDL_GRAB_ON ) {
printf("Grab is now on\n");
} else {
printf("Grab is now off\n");
}
}
The errors reported are as follows:
C:\SDL-1.2.6\test\testwm.c
[Warning] In function `void HotKey_ToggleGrab()':
96
C:\SDL-1.2.6\test\testwm.c
cannot convert `bool' to `SDL_GrabMode'
C:\Documents and Settings\Granoblastic Man\My Documents\Dev-C++
Projects\Makefile.win
[Build Error] [../../../../SDL-1.2.6/test/testwm.o] Error 1
|
|
From: Shreeharsh S. A. <s_...@ya...> - 2003-03-22 01:08:24
|
Hi folks! one way to improve MinGW's performance w.r.t. the compile times would definately be as follows... "to avoid re-compilation of headers!!!" to do so u can include the following statement at the beginning of all ur header files... #define _HeaderName_H_ by this method when the compiler first compiles, it defines all those statements in all the headers present in ur current project. thus the first compilation would always take a lot of time. but re-compilations would be much more faster since it wouldnt re-compile all ur headers. i hope my solution hlps u! and that u hv understood it!!! - Shreeharsh S. Ambli. PS: could anyone plz tell me all those short forms that u guys use in mails. usually they are in all caps!! but i am un-familiar with them. plz hlp me!! --------------------------------- Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! |
|
From: Ioannis V. <iv...@em...> - 2003-03-21 23:17:30
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Ian Hill
> Sent: Friday, March 21, 2003 11:35 AM
> To: dev...@li...
> Subject: RE: [Dev-C++] how to use "srand"
>
>
> The following is a bit of C code that uses the current time as a seed.
> It's an example I have so it may have bits you will need to modify
> (Namespaces and .h files etc.)
> But it does work.
>
>
> /*
> ** Program to demonstrate the use of the rand function
> */
> #include <stdio.h>
> #include <stdlib.h>
> #include <time.h>
>
> int main(int argc, char *argv[])
> {
> int nCount;
> int nRandom;
>
> /* Seed random number generator with current time */
> srand((unsigned)time(NULL));
There is no need for casting here. The time_t argument (a typedef of a
signed integral type) is implicitly converted to unsigned int.
>
> /* Display 20 random positive integers */
> for(nCount=0; nCount<20; nCount++)
> {
> nRandom=rand();
> printf("%d ", nRandom);
> }
>
> system("PAUSE");
> return 0;
> }
Regards,
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
|
|
From: David M. <dem...@uw...> - 2003-03-21 23:04:58
|
You'll want to use #define CPtr smart_ptr for it to work, although I prefer
typedefs in a situation like this.
At 12:37 PM 21/03/2003 +0100, you wrote:
>Hello,
>
>I'm using Dev-Cpp 4.9.7.0, GCC 3.2, MingW 2.0.0.3, Msys 1.0.7, under
Windows Me.
>
>I'd like to use a new type of smart pointer but without changing all the
reference in the code. I try the code below:
>
>- in a header file cptr.h, I have:
>
>template < class T >
>class CPtr // Counted Pointer
>{
>[...]
>}; // CPtr
>
>- and in an other file, I put:
>
>[...]
>#include <string>
>#include "include/cptr.h" // smart pointer CPtr
>
>[...]
>using std::string ;
>
>typedef CPtr smart_ptr ;
>//#define smart_ptr CPtr
>typedef smart_ptr< string > StringPtr ;
>
>[...]
>
>The compiler gives a "syntax error before ;" for the line "define CPtr
smart_ptr;".
>Everything is OK if I use "#define CPtr smart_ptr".
>
>I don't see where is the point with this error? Any idea?
>
>Thanks
>
>Pierre Raoul
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Per W. <pw...@ia...> - 2003-03-21 23:02:43
|
See below /PWM On Fri, 21 Mar 2003, Zodiaq wrote: > Hello Per and all Dev-C++ users, > > Wednesday, March 19, 2003, 1:54:34 PM, Per wrote as follows: > > PW> Among other things yes. Every resource in the resource file - string, > PW> menu, image, ... have a language and sub-language setting, i.e. > PW> English,US-English. > > PW> But the resource is also a way to use graphical design tools to describe > PW> the graphical API of an application. The resource file allows any data > > Graphical API?? IMO there is no such thing... Do you mean GUI - > Graphical User Interface ? Yes, that's what I mean. A resource editor is a bit more graphical than most GUI's :-) > > PW> that the resource editor needs to change to be separated from the manually > PW> edited source code of the application. > > PW> A resource file might contain the same string etc. in multiple languages. > PW> The OS will then try to auto-select the language based on the users > PW> language settings in the OS. > > AFAIK in source code programmer have to load proper local string, > AFAIK system doesn't do that autamatically... am I wrong? You are both right and wrong. The resource file may contain the same resource (string, dialog, image, ...) in multiple language versions. However, the order of the different languages in the file seems to affect the OS success at selecting correct language version. If the language order is correct for a Swedish Win NT, i.e. depending on user language the application always selects correct language of dialogs, a German NT will fail misserably. M$ have a tendancy to implement interesting ideas but then fuck up on the implementation. > > PW> One other reason for resource files is that the same code may support a > PW> simple or advanced API. In the simplified API, some dialogs might be > PW> smaller, and with some 'advanced' fields removed. > > But if some fields are removed source code also have to be changed... > if not program would crush trying to send some infos to not existing > controls - I have experienced this recently... It's a question of type of fields, and how the application is written. It's completely safe to send messages to controls that doesn't exist in the resource file. However, if the application binds the control to a C++ object, things might get a bit more hairy. It's also important for the program to either check for the existence of input fields, or to supply reasonable defaults in case the removed field is a input field. > > PW> A third reason for resource files is that they allow customization, i.e. a > PW> program is delivered to different corporations, and each corporation gets > PW> the application with different look-and-feel, i.e. the colors, logos etc. > PW> are adjusted. > > Hmmm... interesting... got to remember that! > > PW> Basically, a resource compiler takes a - normally text - xx.rc file and > PW> produces a binary xx.res file. That file is then appended to the > > MinGW produces .o files... but extension IS NOT important, only that > it have to be linked into final executable... > > PW> executable file, and the windows API contains functions to look for > PW> resource data at the end of a exe or dll file. > > PW> One way to support multiple languages of an application is to build the > PW> main exe without resources - or with only language-neutral resources. Then > PW> the project contains one dll file for each market. Uppon startup, the > PW> program selects which dll to load and use for resource lookup. > > Good idea! > > PW> /Per W > > Thanks for your comments :-) > -- > regards, Zodiaq > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Zodiaq <zo...@ac...> - 2003-03-21 22:04:43
|
Hello Per and all Dev-C++ users, Wednesday, March 19, 2003, 1:54:34 PM, Per wrote as follows: PW> Among other things yes. Every resource in the resource file - string, PW> menu, image, ... have a language and sub-language setting, i.e. PW> English,US-English. PW> But the resource is also a way to use graphical design tools to describe PW> the graphical API of an application. The resource file allows any data Graphical API?? IMO there is no such thing... Do you mean GUI - Graphical User Interface ? PW> that the resource editor needs to change to be separated from the manually PW> edited source code of the application. PW> A resource file might contain the same string etc. in multiple languages. PW> The OS will then try to auto-select the language based on the users PW> language settings in the OS. AFAIK in source code programmer have to load proper local string, AFAIK system doesn't do that autamatically... am I wrong? PW> One other reason for resource files is that the same code may support a PW> simple or advanced API. In the simplified API, some dialogs might be PW> smaller, and with some 'advanced' fields removed. But if some fields are removed source code also have to be changed... if not program would crush trying to send some infos to not existing controls - I have experienced this recently... PW> A third reason for resource files is that they allow customization, i.e. a PW> program is delivered to different corporations, and each corporation gets PW> the application with different look-and-feel, i.e. the colors, logos etc. PW> are adjusted. Hmmm... interesting... got to remember that! PW> Basically, a resource compiler takes a - normally text - xx.rc file and PW> produces a binary xx.res file. That file is then appended to the MinGW produces .o files... but extension IS NOT important, only that it have to be linked into final executable... PW> executable file, and the windows API contains functions to look for PW> resource data at the end of a exe or dll file. PW> One way to support multiple languages of an application is to build the PW> main exe without resources - or with only language-neutral resources. Then PW> the project contains one dll file for each market. Uppon startup, the PW> program selects which dll to load and use for resource lookup. Good idea! PW> /Per W Thanks for your comments :-) -- regards, Zodiaq |
|
From: Ioannis V. <iv...@em...> - 2003-03-21 19:04:15
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Alessandro Oliveira > Sent: Friday, March 21, 2003 7:00 PM > To: Dev...@li... > Cc: go...@De... > Subject: Re: [Dev-C++] how to improve mingw performance >=20 >=20 > Have you ever heard about early pentiums without math processor ? >=20 > the computer lab guys told me that these compaqs doesn't have a math=20 > processor, > I don't think this is true, but you know, OEMs do whatever is=20 > necessary=20 > in order to raise their profits. >=20 > I don't know if this would affect performance anyway. Only Intel processors up to 386 had not an integrated math unit. I do = not recall about other manufacturers of the time like AMD and Cyrix but all systems with an optional math-coprocessor were of the 386 generation. = i486 was the first processor with an intergated math-unit. So if you have = pentium I can't see how it is possible to not have a math unit. And 5 minutes = sounds strangely too much (unless it was an expression of exageration like the expression "it takes 10 hours to compile"). Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |
|
From: Per W. <pw...@ia...> - 2003-03-21 17:58:33
|
Note that the Visual C++ projects are using a fixed-format file, while a makefile may contain just about anything that will execute. In short, the makefile may contain constructs that are not possible to represent in the Dev-Cpp project files - and having the Dev-Cpp project just fork out a make run wouldn't be a solution if the machine isn't configured to be able to run make natively anyway. /Per W On Fri, 21 Mar 2003, Kieran Walshe wrote: > Hi Daniel, > > I think you've just explained exactly why such a utility would be useful. > > Although the Mingw and Cygwin options are both valid and in some cases mo= re desirable methods, I personally believe that it would be a useful additi= on to Dev-C++ to be able to import Makefiles. This utility could potentiall= y handle all Mingw specific compiler options automatically and address any = other platform specific requirements. > > I notice that there is a facility to import MS Visual C++ Projects. > > Also some developers would just like to download Dev-C++ and load there e= xisting projects (and/or Opensource projects (LibTiff, zlib, etc) into it. = They have already done all the work of creating their Makefile, a simple 1 = click import makefile would be useful. > > > > -----Original Message----- > > From: Daniel K. O. [mailto:dan...@ya...] > > Sent: 21 March 2003 16:07 > > To: Louis Godio; gi...@li...; dev...@li... > > Subject: RES: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > > > > > If you want to do it with minimum effort, you can try Cygwin > > - almost an > > entire OS, so you'll probably just need to type './configure' > > and 'make'. > > Even with MSYS you can compile most of them like this. > > > > > > I compiled many GNU programs under Windows with Dev-Cpp, the > > task is simple: > > > > 1- Create a project > > 2- Add the files > > 3- Look at the Makefile for the > > * CFLAGS/CCFLAGS/CwhateverFLAGS/every-compiler-switch and add them to > > Compiler Options > > * LDFLAGS/LIBS/whatever-that-seems-like-linker-options and > > add them to > > Linker Options > > 4- If the sources need a config.h file, and you can't run the > > ./configure > > script, look for a "acconfig.h" (or any "*config.h") that > > came with the > > sources (or you can search on Google for one) and edit the #define's > > properly. Rename it to "config.h" and include it in your project. > > > > > > I don't think I would ever need a tool to convert it to a > > dev's project > > file; I just need > > 1- some clicks (create a project) > > 2- some more clicks (Add File -> Ctrl+A -> Open) > > 3- copy/paste from Makefile to Dev > > 4- a few key-hits (F2, "acconfig.h" -> "config.h", Add > > file..., edit it a > > little) > > > > Daniel K. O. > > > > > > It's OK to be ignorant; it's not OK to play stupid. > > http://www.catb.org/~esr/faqs/smart-questions.html > > > > > > > > > -----Mensagem original----- > > > De: dev...@li... > > > [mailto:dev...@li...]Em nome > > de Louis Godio > > > Enviada em: sexta-feira, 21 de mar=E7o de 2003 12:07 > > > Para: gi...@li...; dev...@li... > > > Assunto: Re: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > > > > Hi list, > > > This is an important topic for those of us that want to > > > port GNU source code to DevC++. > > > > > > GNU source code is made to compile under gcc compilers. > > > And all GNU source uses makefiles. But I for one spend enormous > > > amounts of > > > time trying to get GNU code to compile under DevCpp. And > > the problem is > > > almost always the GNU makefile. > > > > > > If you try to ignore the GNU makefile and load the source > > files into > > > a DevC++ progect, then compile, you get tons of compile > > and link errors. > > > For example, try to compile the GNU UNSHAR code (which is > > a simple code > > > with a complex makefile). > > > > > > The person asking this question, and I'm sure many other > > DevC++ users, > > > need a practical tool or solution to this makefile problem. > > > I'm also sure that any help, advice etc. would be greatly > > appreciated by > > > these users. > > > The contents of this e-mail are confidential to the ordinary user of the = e-mail address to which it was addressed and may also be privileged. > If you are not the addressee of this e-mail you may not copy, forward, di= sclose or otherwise use it or any part of it in any form whatsoever. > If you have received this e-mail in error please report it to the postmas= ter at <mailto:in...@ce...> > Any views held by employees in this message do not necessarily represent = the views and opinions of CENDRIS Limited. > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Per W. <pw...@ia...> - 2003-03-21 17:52:52
|
Note that Daniel's example contained a number of logical wild-cards, especially about figuring out flags etc. An import function would need to parse the $xx functions/declarations of the makefile, to get the true values of any flags. I would almost think that the easist way to do it is to either pick up the real source code of the make program - or run make and capture the output of 'make -n', to get the correct macro expansions. For each gcc -c xx.o xx.c, you would get one c file to add to the project, together with the flags needed to compile it. In the same way, you would get the link flags. What to do if the makefile runs anything bug compiler, linker, librarian? Should cp, mv, rm, ... be translated to corresponding Win32 cmd actions run in before/after rules? Note that the concept wouldn't handle makefiles that needs ./configure to be run first. /Per W On Fri, 21 Mar 2003, Louis Godio wrote: > Per, > > What about a tool that only translates makefiles to .dev > files for a limited number of of constructs ? > A tool that only translates the constructs > outlined in Daniel K. O. note would still be a great addition to > DevCpp. > > > > > --- Per Westermark <pw...@ia...> wrote: > > Note that the Visual C++ projects are using a fixed-format file, while = a > > makefile may contain just about anything that will execute. In short, > > the > > makefile may contain constructs that are not possible to represent in > > the > > Dev-Cpp project files - and having the Dev-Cpp project just fork out a > > make run wouldn't be a solution if the machine isn't configured to be > > able > > to run make natively anyway. > > > > /Per W > > > > On Fri, 21 Mar 2003, Kieran Walshe wrote: > > > > > Hi Daniel, > > > > > > I think you've just explained exactly why such a utility would be > > useful. > > > > > > Although the Mingw and Cygwin options are both valid and in some case= s > > more desirable methods, I personally believe that it would be a useful > > addition to Dev-C++ to be able to import Makefiles. This utility could > > potentially handle all Mingw specific compiler options automatically an= d > > address any other platform specific requirements. > > > > > > I notice that there is a facility to import MS Visual C++ Projects. > > > > > > Also some developers would just like to download Dev-C++ and load > > there existing projects (and/or Opensource projects (LibTiff, zlib, etc= ) > > into it. They have already done all the work of creating their Makefile= , > > a simple 1 click import makefile would be useful. > > > > > > > > > > -----Original Message----- > > > > From: Daniel K. O. [mailto:dan...@ya...] > > > > Sent: 21 March 2003 16:07 > > > > To: Louis Godio; gi...@li...; > > dev...@li... > > > > Subject: RES: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > > > > > > > > > > > > > > > If you want to do it with minimum effort, you can try Cygwin > > > > - almost an > > > > entire OS, so you'll probably just need to type './configure' > > > > and 'make'. > > > > Even with MSYS you can compile most of them like this. > > > > > > > > > > > > I compiled many GNU programs under Windows with Dev-Cpp, the > > > > task is simple: > > > > > > > > 1- Create a project > > > > 2- Add the files > > > > 3- Look at the Makefile for the > > > > * CFLAGS/CCFLAGS/CwhateverFLAGS/every-compiler-switch and add them > > to > > > > Compiler Options > > > > * LDFLAGS/LIBS/whatever-that-seems-like-linker-options and > > > > add them to > > > > Linker Options > > > > 4- If the sources need a config.h file, and you can't run the > > > > ./configure > > > > script, look for a "acconfig.h" (or any "*config.h") that > > > > came with the > > > > sources (or you can search on Google for one) and edit the #define'= s > > > > properly. Rename it to "config.h" and include it in your project. > > > > > > > > > > > > I don't think I would ever need a tool to convert it to a > > > > dev's project > > > > file; I just need > > > > 1- some clicks (create a project) > > > > 2- some more clicks (Add File -> Ctrl+A -> Open) > > > > 3- copy/paste from Makefile to Dev > > > > 4- a few key-hits (F2, "acconfig.h" -> "config.h", Add > > > > file..., edit it a > > > > little) > > > > > > > > Daniel K. O. > > > > > > > > > > > > It's OK to be ignorant; it's not OK to play stupid. > > > > http://www.catb.org/~esr/faqs/smart-questions.html > > > > > > > > > > > > > > > > > -----Mensagem original----- > > > > > De: dev...@li... > > > > > [mailto:dev...@li...]Em nome > > > > de Louis Godio > > > > > Enviada em: sexta-feira, 21 de mar=E7o de 2003 12:07 > > > > > Para: gi...@li...; dev...@li... > > > > > Assunto: Re: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > > > > > > > > > > Hi list, > > > > > This is an important topic for those of us that want to > > > > > port GNU source code to DevC++. > > > > > > > > > > GNU source code is made to compile under gcc compilers. > > > > > And all GNU source uses makefiles. But I for one spend enormous > > > > > amounts of > > > > > time trying to get GNU code to compile under DevCpp. And > > > > the problem is > > > > > almost always the GNU makefile. > > > > > > > > > > If you try to ignore the GNU makefile and load the source > > > > files into > > > > > a DevC++ progect, then compile, you get tons of compile > > > > and link errors. > > > > > For example, try to compile the GNU UNSHAR code (which is > > > > a simple code > > > > > with a complex makefile). > > > > > > > > > > The person asking this question, and I'm sure many other > > > > DevC++ users, > > > > > need a practical tool or solution to this makefile problem. > > > > > I'm also sure that any help, advice etc. would be greatly > > > > appreciated by > > > > > these users. > > > > > > > > > The contents of this e-mail are confidential to the ordinary user of > > the e-mail address to which it was addressed and may also be privileged= =2E > > > If you are not the addressee of this e-mail you may not copy, forward= , > > disclose or otherwise use it or any part of it in any form whatsoever. > > > If you have received this e-mail in error please report it to the > > postmaster at <mailto:in...@ce...> > > > Any views held by employees in this message do not necessarily > > represent the views and opinions of CENDRIS Limited. > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by:Crypto Challenge is now open! > > > Get cracking and register here for some mind boggling fun and > > > the chance of winning an Apple iPod: > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > http://platinum.yahoo.com > |
|
From: Louis G. <lg...@ya...> - 2003-03-21 17:41:27
|
Per, What about a tool that only translates makefiles to .dev files for a limited number of of constructs ? A tool that only translates the constructs outlined in Daniel K. O. note would still be a great addition to DevCpp. --- Per Westermark <pw...@ia...> wrote: > Note that the Visual C++ projects are using a fixed-format file, while a > makefile may contain just about anything that will execute. In short, > the > makefile may contain constructs that are not possible to represent in > the > Dev-Cpp project files - and having the Dev-Cpp project just fork out a > make run wouldn't be a solution if the machine isn't configured to be > able > to run make natively anyway. > > /Per W > > On Fri, 21 Mar 2003, Kieran Walshe wrote: > > > Hi Daniel, > > > > I think you've just explained exactly why such a utility would be > useful. > > > > Although the Mingw and Cygwin options are both valid and in some cases > more desirable methods, I personally believe that it would be a useful > addition to Dev-C++ to be able to import Makefiles. This utility could > potentially handle all Mingw specific compiler options automatically and > address any other platform specific requirements. > > > > I notice that there is a facility to import MS Visual C++ Projects. > > > > Also some developers would just like to download Dev-C++ and load > there existing projects (and/or Opensource projects (LibTiff, zlib, etc) > into it. They have already done all the work of creating their Makefile, > a simple 1 click import makefile would be useful. > > > > > > > -----Original Message----- > > > From: Daniel K. O. [mailto:dan...@ya...] > > > Sent: 21 March 2003 16:07 > > > To: Louis Godio; gi...@li...; > dev...@li... > > > Subject: RES: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > > > > > > > > > > If you want to do it with minimum effort, you can try Cygwin > > > - almost an > > > entire OS, so you'll probably just need to type './configure' > > > and 'make'. > > > Even with MSYS you can compile most of them like this. > > > > > > > > > I compiled many GNU programs under Windows with Dev-Cpp, the > > > task is simple: > > > > > > 1- Create a project > > > 2- Add the files > > > 3- Look at the Makefile for the > > > * CFLAGS/CCFLAGS/CwhateverFLAGS/every-compiler-switch and add them > to > > > Compiler Options > > > * LDFLAGS/LIBS/whatever-that-seems-like-linker-options and > > > add them to > > > Linker Options > > > 4- If the sources need a config.h file, and you can't run the > > > ./configure > > > script, look for a "acconfig.h" (or any "*config.h") that > > > came with the > > > sources (or you can search on Google for one) and edit the #define's > > > properly. Rename it to "config.h" and include it in your project. > > > > > > > > > I don't think I would ever need a tool to convert it to a > > > dev's project > > > file; I just need > > > 1- some clicks (create a project) > > > 2- some more clicks (Add File -> Ctrl+A -> Open) > > > 3- copy/paste from Makefile to Dev > > > 4- a few key-hits (F2, "acconfig.h" -> "config.h", Add > > > file..., edit it a > > > little) > > > > > > Daniel K. O. > > > > > > > > > It's OK to be ignorant; it's not OK to play stupid. > > > http://www.catb.org/~esr/faqs/smart-questions.html > > > > > > > > > > > > > -----Mensagem original----- > > > > De: dev...@li... > > > > [mailto:dev...@li...]Em nome > > > de Louis Godio > > > > Enviada em: sexta-feira, 21 de março de 2003 12:07 > > > > Para: gi...@li...; dev...@li... > > > > Assunto: Re: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > > > > > > > Hi list, > > > > This is an important topic for those of us that want to > > > > port GNU source code to DevC++. > > > > > > > > GNU source code is made to compile under gcc compilers. > > > > And all GNU source uses makefiles. But I for one spend enormous > > > > amounts of > > > > time trying to get GNU code to compile under DevCpp. And > > > the problem is > > > > almost always the GNU makefile. > > > > > > > > If you try to ignore the GNU makefile and load the source > > > files into > > > > a DevC++ progect, then compile, you get tons of compile > > > and link errors. > > > > For example, try to compile the GNU UNSHAR code (which is > > > a simple code > > > > with a complex makefile). > > > > > > > > The person asking this question, and I'm sure many other > > > DevC++ users, > > > > need a practical tool or solution to this makefile problem. > > > > I'm also sure that any help, advice etc. would be greatly > > > appreciated by > > > > these users. > > > > > > The contents of this e-mail are confidential to the ordinary user of > the e-mail address to which it was addressed and may also be privileged. > > If you are not the addressee of this e-mail you may not copy, forward, > disclose or otherwise use it or any part of it in any form whatsoever. > > If you have received this e-mail in error please report it to the > postmaster at <mailto:in...@ce...> > > Any views held by employees in this message do not necessarily > represent the views and opinions of CENDRIS Limited. > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by:Crypto Challenge is now open! > > Get cracking and register here for some mind boggling fun and > > the chance of winning an Apple iPod: > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |
|
From: Per W. <pw...@ia...> - 2003-03-21 17:25:30
|
I don't know about any genuine Intel Pentium without math processor. The i486 was available in DX and SX models with the SX missing the fpu. Besdies - compilation isn't very fpu-intensive, so having to emulate the fp instructions shouldn't be a problem. /Per W On Fri, 21 Mar 2003, Alessandro Oliveira wrote: > Have you ever heard about early pentiums without math processor ? > > the computer lab guys told me that these compaqs doesn't have a math > processor, > I don't think this is true, but you know, OEMs do whatever is necessary > in order to raise their profits. > > I don't know if this would affect performance anyway. > > Alessandro > > Goran Rakic' wrote: > > >Dana petak 21. mart 2003. 16:57, Alessandro Oliveira je napisao/la: > > > > > >>I thought it was a memory problem, because the machines came with 16mb > >>only, but after the upgrade to 32mb, the disk led just blinks and > >>dev-cpp freeze until mingw finishes the compilation. So I think, it's > >>not a lack of memory problem anymore, it's just spending too much > >>computer cycles. > >> > >> > > > >I tried lastest MinGW with gcc 3.2 without DevCpp in my school on 133Mhz > >Pentium I computers with 16 and 32 MB of memory. It is a little bit slower > >but no way to be 5 minutes, 5secs is a maximum. > > > >Goran > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Kieran W. <Ki...@ce...> - 2003-03-21 17:12:34
|
Hi Daniel, I think you've just explained exactly why such a utility would be = useful.=20 Although the Mingw and Cygwin options are both valid and in some cases = more desirable methods, I personally believe that it would be a useful = addition to Dev-C++ to be able to import Makefiles. This utility could = potentially handle all Mingw specific compiler options automatically and = address any other platform specific requirements.=20 I notice that there is a facility to import MS Visual C++ Projects. Also some developers would just like to download Dev-C++ and load there = existing projects (and/or Opensource projects (LibTiff, zlib, etc) into = it. They have already done all the work of creating their Makefile, a = simple 1 click import makefile would be useful. > -----Original Message----- > From: Daniel K. O. [mailto:dan...@ya...] > Sent: 21 March 2003 16:07 > To: Louis Godio; gi...@li...; dev...@li... > Subject: RES: [Dev-C++] Convert Makefile to Dev-C++ project >=20 >=20 >=20 >=20 > If you want to do it with minimum effort, you can try Cygwin=20 > - almost an > entire OS, so you'll probably just need to type './configure'=20 > and 'make'. > Even with MSYS you can compile most of them like this. >=20 >=20 > I compiled many GNU programs under Windows with Dev-Cpp, the=20 > task is simple: >=20 > 1- Create a project > 2- Add the files > 3- Look at the Makefile for the > * CFLAGS/CCFLAGS/CwhateverFLAGS/every-compiler-switch and add them to > Compiler Options > * LDFLAGS/LIBS/whatever-that-seems-like-linker-options and=20 > add them to > Linker Options > 4- If the sources need a config.h file, and you can't run the=20 > ./configure > script, look for a "acconfig.h" (or any "*config.h") that=20 > came with the > sources (or you can search on Google for one) and edit the #define's > properly. Rename it to "config.h" and include it in your project. >=20 >=20 > I don't think I would ever need a tool to convert it to a=20 > dev's project > file; I just need > 1- some clicks (create a project) > 2- some more clicks (Add File -> Ctrl+A -> Open) > 3- copy/paste from Makefile to Dev > 4- a few key-hits (F2, "acconfig.h" -> "config.h", Add=20 > file..., edit it a > little) >=20 > Daniel K. O. >=20 >=20 > It's OK to be ignorant; it's not OK to play stupid. > http://www.catb.org/~esr/faqs/smart-questions.html >=20 >=20 >=20 > > -----Mensagem original----- > > De: dev...@li... > > [mailto:dev...@li...]Em nome=20 > de Louis Godio > > Enviada em: sexta-feira, 21 de mar=E7o de 2003 12:07 > > Para: gi...@li...; dev...@li... > > Assunto: Re: [Dev-C++] Convert Makefile to Dev-C++ project > > > > > > Hi list, > > This is an important topic for those of us that want to > > port GNU source code to DevC++. > > > > GNU source code is made to compile under gcc compilers. > > And all GNU source uses makefiles. But I for one spend enormous > > amounts of > > time trying to get GNU code to compile under DevCpp. And=20 > the problem is > > almost always the GNU makefile. > > > > If you try to ignore the GNU makefile and load the source=20 > files into > > a DevC++ progect, then compile, you get tons of compile=20 > and link errors. > > For example, try to compile the GNU UNSHAR code (which is=20 > a simple code > > with a complex makefile). > > > > The person asking this question, and I'm sure many other=20 > DevC++ users, > > need a practical tool or solution to this makefile problem. > > I'm also sure that any help, advice etc. would be greatly=20 > appreciated by > > these users. The contents of this e-mail are confidential to the ordinary user of the = e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, = disclose or otherwise use it or any part of it in any form whatsoever. =20 If you have received this e-mail in error please report it to the = postmaster at <mailto:in...@ce...> Any views held by employees in this message do not necessarily represent = the views and opinions of CENDRIS Limited. |
|
From: Alessandro O. <ale...@nu...> - 2003-03-21 17:00:10
|
Have you ever heard about early pentiums without math processor ? the computer lab guys told me that these compaqs doesn't have a math processor, I don't think this is true, but you know, OEMs do whatever is necessary in order to raise their profits. I don't know if this would affect performance anyway. Alessandro Goran Rakic' wrote: >Dana petak 21. mart 2003. 16:57, Alessandro Oliveira je napisao/la: > > >>I thought it was a memory problem, because the machines came with 16mb >>only, but after the upgrade to 32mb, the disk led just blinks and >>dev-cpp freeze until mingw finishes the compilation. So I think, it's >>not a lack of memory problem anymore, it's just spending too much >>computer cycles. >> >> > >I tried lastest MinGW with gcc 3.2 without DevCpp in my school on 133Mhz >Pentium I computers with 16 and 32 MB of memory. It is a little bit slower >but no way to be 5 minutes, 5secs is a maximum. > >Goran > > |
|
From: Ioannis V. <iv...@em...> - 2003-03-21 16:57:54
|
The person was talking about C, not C++. Regards, Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of = Catsquotl Sent: Wednesday, March 19, 2003 8:24 PM To: dev...@li... Subject: RE: [Dev-C++] silly question At 16:31 19-3-2003 +0200, Ioannis Vranos wrote: #include <stdlib.h> /* ... */ #include <cstdlib> as include header will also work. followed by code below. greets cat (sorry Ioannis for sending this to you first. wrong button) =20 int main(void) { /* ... */ =20 system("pause"); =20 return 0; } =20 =20 =20 =20 Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys =20 =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Theodore Kypraios Sent: Wednesday, March 19, 2003 2:47 PM To: dev...@li... Subject: [Dev-C++] silly question Dear C++ users, I have just downloaded Dev-C++ compiler. I am new in the C language. I have written the simplest program (hello.c). The compile proedure is = fine, but when I execute the program I cannot anything in the screen. It seems that it appears an MS-dos windows and it is closed itself immediately. Any ideas? I realise that this a silly question but I have to solve it = in order go further. Thanks in advance, Theodore Theodore Kypraios, Postgraduate Student =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Web: http://www.maths.lancs.ac.uk/~kypraios email: t.k...@la... Department of Mathematics and Statistics Fylde College Lancaster University Lancaster, LA1 4YF UK Tel:+(44)(0)1524 593094 Fax:+(44)(0)1524 592681 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |
|
From: Cristian B. <cbu...@to...> - 2003-03-21 16:55:51
|
Hello The only thing to do is to add more memory Plain C still takes a reasonable ammount of time to compile with GCC even on a 586/133 w. 16MB RAM. (Win 98). This is the lowest performance computer on which I have installed DEV-C++, yet. When it comes to C++... it-s painfully slow. I tried to compile a simple example using wxWindows library... HDD didn't stop working for more than 5 minutes. Seems to me that compiling C++ takes a huge ammount of resources. Pe data de Fri, 21 Mar 2003 07:07:05 -0800 dev...@li... a scris: > Date: Fri, 21 Mar 2003 11:31:06 -0300 > From: Alessandro Oliveira <ale...@nu...> > To: Dev...@li... > Subject: [Dev-C++] how to improve mingw performance > > Hi, > > I've installed dev-cpp on 30 computers in the University. But when I try > to compile a hello world example it takes about 5 minutes. > > The machines are old pentiums 166/32mb of RAM. Is there any chance to > improve the performace of mingw ? > > -- > Thanks, |
|
From: Alessandro O. <ale...@nu...> - 2003-03-21 16:09:27
|
I thought it was a memory problem, because the machines came with 16mb only, but after the upgrade to 32mb, the disk led just blinks and dev-cpp freeze until mingw finishes the compilation. So I think, it's not a lack of memory problem anymore, it's just spending too much computer cycles. Alessandro. Per Westermark wrote: >Probably only by adding more memory - are the HD constantly working during >the compile? I would suspect that the OS eats quite a lot of the memory, >leaving too little for gcc + Dev-Cpp. > >/Per W > >On Fri, 21 Mar 2003, Alessandro Oliveira wrote: > > > >>Hi, >> >>I've installed dev-cpp on 30 computers in the University. But when I try >>to compile a hello world example it takes about 5 minutes. >> >>The machines are old pentiums 166/32mb of RAM. Is there any chance to >>improve the performace of mingw ? >> >>-- >>Thanks, >> >>Alessandro Oliveira >>Nuno Ferreira Cargas Internacionais Ltda. >>Phone: +55-11-3241-2000 >>Fax : +55-11-3242-9891 >>------------------------------------------------------------------- >> >>Micro$oft is not the answer. Micro$oft is the question. The answer is NO!!! >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >> >> > > > -- Best Regards, Alessandro Oliveira Nuno Ferreira Cargas Internacionais Ltda. Phone: +55-11-3241-2000 Fax : +55-11-3242-9891 ------------------------------------------------------------------- Micro$oft is not the answer. Micro$oft is the question. The answer is NO!!! |
|
From: Daniel K. O. <dan...@ya...> - 2003-03-21 16:07:43
|
If you want to do it with minimum effort, you can try Cygwin - almost an entire OS, so you'll probably just need to type './configure' and 'make'. Even with MSYS you can compile most of them like this. I compiled many GNU programs under Windows with Dev-Cpp, the task is simple: 1- Create a project 2- Add the files 3- Look at the Makefile for the * CFLAGS/CCFLAGS/CwhateverFLAGS/every-compiler-switch and add them to Compiler Options * LDFLAGS/LIBS/whatever-that-seems-like-linker-options and add them to Linker Options 4- If the sources need a config.h file, and you can't run the ./configure script, look for a "acconfig.h" (or any "*config.h") that came with the sources (or you can search on Google for one) and edit the #define's properly. Rename it to "config.h" and include it in your project. I don't think I would ever need a tool to convert it to a dev's project file; I just need 1- some clicks (create a project) 2- some more clicks (Add File -> Ctrl+A -> Open) 3- copy/paste from Makefile to Dev 4- a few key-hits (F2, "acconfig.h" -> "config.h", Add file..., edit it a little) Daniel K. O. It's OK to be ignorant; it's not OK to play stupid. http://www.catb.org/~esr/faqs/smart-questions.html > -----Mensagem original----- > De: dev...@li... > [mailto:dev...@li...]Em nome de Louis Godio > Enviada em: sexta-feira, 21 de março de 2003 12:07 > Para: gi...@li...; dev...@li... > Assunto: Re: [Dev-C++] Convert Makefile to Dev-C++ project > > > Hi list, > This is an important topic for those of us that want to > port GNU source code to DevC++. > > GNU source code is made to compile under gcc compilers. > And all GNU source uses makefiles. But I for one spend enormous > amounts of > time trying to get GNU code to compile under DevCpp. And the problem is > almost always the GNU makefile. > > If you try to ignore the GNU makefile and load the source files into > a DevC++ progect, then compile, you get tons of compile and link errors. > For example, try to compile the GNU UNSHAR code (which is a simple code > with a complex makefile). > > The person asking this question, and I'm sure many other DevC++ users, > need a practical tool or solution to this makefile problem. > I'm also sure that any help, advice etc. would be greatly appreciated by > these users. |
|
From: Louis G. <lg...@ya...> - 2003-03-21 15:06:42
|
Hi list, This is an important topic for those of us that want to port GNU source code to DevC++. GNU source code is made to compile under gcc compilers. And all GNU source uses makefiles. But I for one spend enormous amounts of time trying to get GNU code to compile under DevCpp. And the problem is almost always the GNU makefile. If you try to ignore the GNU makefile and load the source files into a DevC++ progect, then compile, you get tons of compile and link errors. For example, try to compile the GNU UNSHAR code (which is a simple code with a complex makefile). The person asking this question, and I'm sure many other DevC++ users, need a practical tool or solution to this makefile problem. I'm also sure that any help, advice etc. would be greatly appreciated by these users. --- Luigi Santillo <gi...@li...> wrote: > On Thu, Mar 20, 2003 at 12:03:33PM -0000, Kieran Walshe wrote: > > Hi, > > > > Are there any tools/utilities/packages that will convert a Makefile > (using gcc) into a Dev-C++ project? > > > > Or does anyone know of some good documentation that would guide you > through it. > > > > Thanks > > > > Kieran > > > > Hello, Kieran > there seems to be no such tool (yet), but why do you need one? > IMHO, the idea behind 'projects' is to have user not deal with > makefile directly, instead Dev-C++ will use information written in the > project to write the makefile for you. So if you already have the > makefile, > just use Make to compile your program and forget about the project :-) > > However, if you wish to manually "convert" the makefile, you could: > - open Dev-C++ and create an empty project > - open the makefile in the editor > - add to the empty project, any source file whose name is found in the > makefile > > > > > > The contents of this e-mail are confidential to the ordinary user of > the e-mail address to which it was addressed and may also be privileged. > > If you are not the addressee of this e-mail you may not copy, forward, > disclose or otherwise use it or any part of it in any form whatsoever. > > If you have received this e-mail in error please report it to the > postmaster at <mailto:in...@ce...> > > Any views held by employees in this message do not necessarily > represent the views and opinions of CENDRIS Limited. > > > Please try to avoid using mail servers which add messages like the above > to your mails, they sound harassing to me :-) ... I'm not the addressee > but > am using part of it, I hope, to help you, should I report it to the > postmaster? ;-) > > -- > >> gisan >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: Tablet PC. > Does your code think in ink? You could win a Tablet PC. > Get a free Tablet PC hat just for playing. What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |
|
From: Per W. <pw...@ia...> - 2003-03-21 14:39:38
|
Probably only by adding more memory - are the HD constantly working during the compile? I would suspect that the OS eats quite a lot of the memory, leaving too little for gcc + Dev-Cpp. /Per W On Fri, 21 Mar 2003, Alessandro Oliveira wrote: > Hi, > > I've installed dev-cpp on 30 computers in the University. But when I try > to compile a hello world example it takes about 5 minutes. > > The machines are old pentiums 166/32mb of RAM. Is there any chance to > improve the performace of mingw ? > > -- > Thanks, > > Alessandro Oliveira > Nuno Ferreira Cargas Internacionais Ltda. > Phone: +55-11-3241-2000 > Fax : +55-11-3242-9891 > ------------------------------------------------------------------- > > Micro$oft is not the answer. Micro$oft is the question. The answer is NO!!! > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Alessandro O. <ale...@nu...> - 2003-03-21 14:31:05
|
Hi, I've installed dev-cpp on 30 computers in the University. But when I try to compile a hello world example it takes about 5 minutes. The machines are old pentiums 166/32mb of RAM. Is there any chance to improve the performace of mingw ? -- Thanks, Alessandro Oliveira Nuno Ferreira Cargas Internacionais Ltda. Phone: +55-11-3241-2000 Fax : +55-11-3242-9891 ------------------------------------------------------------------- Micro$oft is not the answer. Micro$oft is the question. The answer is NO!!! |
|
From: Alessandro O. <ale...@nu...> - 2003-03-21 13:59:55
|
Did you try http://xml.apache.org/xerces-c/index.html, I never used it, but I've heard it's an excellent parser. good luck, Alessandro Tulius Lima wrote: > Hello, > > > Does anyone know about any avaiable XML processing classes for C++? > > > > []s > Tulius > > _________________________________________________________________ > MSN Messenger: converse com os seus amigos online. > http://messenger.msn.com.br > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! Get > cracking and register here for some mind boggling fun and the chance > of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users -- Best Regards, Alessandro Oliveira Nuno Ferreira Cargas Internacionais Ltda. Phone: +55-11-3241-2000 Fax : +55-11-3242-9891 ------------------------------------------------------------------- Micro$oft is not the answer. Micro$oft is the question. The answer is NO!!! |
|
From: Daniel G. <sp...@ho...> - 2003-03-21 11:45:51
|
Why has this come back in again?
>From: Somanathan Kaimal <som...@wi...>
>To: "'dev...@li...'"
><dev...@li...>
>Subject: [Dev-C++] FW: What does this mean ?
>Date: Thu, 20 Mar 2003 16:27:49 +0530
>
>Hi Techies,
>
>if (!currentParser)
> currentParser = parserList.getInstance();
>
>** if (currentParser == (MegacoParser *)0)
> {
> SWERR aSwerr;
> aSwerr.record(__FILE__, __LINE__, "Error: No Parser available.");
> return MegacoDefs::fail;
> }
>
>
>
>How does the line marked with * different from
>
>If(currentParser == 0)
>
>Thanks in adv
>Somanathan
>
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://messenger.msn.co.uk
|
|
From: Pierre R. <pie...@wa...> - 2003-03-21 11:36:23
|
Hello,
I'm using Dev-Cpp 4.9.7.0, GCC 3.2, MingW 2.0.0.3, Msys 1.0.7, under =
Windows Me.
I'd like to use a new type of smart pointer but without changing all the =
reference in the code. I try the code below:
- in a header file cptr.h, I have:
template < class T > =20
class CPtr // Counted Pointer =20
{ =20
[...]
}; // CPtr=20
- and in an other file, I put:
[...]
#include <string>
#include "include/cptr.h" // smart pointer CPtr
[...]
using std::string ;
typedef CPtr smart_ptr ;
//#define smart_ptr CPtr
typedef smart_ptr< string > StringPtr ;
[...]
The compiler gives a "syntax error before ;" for the line "define CPtr =
smart_ptr;".
Everything is OK if I use "#define CPtr smart_ptr".=20
I don't see where is the point with this error? Any idea?
Thanks
Pierre Raoul
|
|
From: <and...@su...> - 2003-03-21 11:32:28
|
<<This>> is what I like this list!!!
objetive answers and useful discussions
Thank you all
Andre
-----Mensagem original-----
De: Ricardo Lopez Ruiz [mailto:ri...@po...]
Enviada em: sexta-feira, 21 de marco de 2003 07:03
Para: Andre Macario Barros; Dev-C++
Assunto: Re: [Dev-C++] pointers of pointers structures memory allocation
Essentially you want to allocate memory for a char matrix in a dynamical
way.
(1) First you must allocate memory for the rows.
Imagine you need to store 50 strings, then p should point
to a pointer array able to allocate the 50 memory positions
of your 50 strings:
p = (char **) malloc(50*sizeof(char*));
(2) Second you want allocate in each row a string with a maximum
of 80 characters, then you should reserve this memory:
for(i=0 ; i<50 ; i++)
p[i] = (char *) malloc(80*sizeof(char));
(3) Now tou can store your strings:
for(i=0 ; i<50 ; i++)
{
printf("\n Give me a char string: ");
gets(p[i]);
}
(4) Finally you free the allocated memory in this way:
for(i=0 ; i<50 ; i++) free(p[i]);
free (p);
Hope this can help you.
Ricardo.
|