RE: RES: [Dev-C++] generated .exe is too big
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <iv...@at...> - 2003-04-24 01:13:44
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Louis Godio > Sent: Wednesday, April 23, 2003 6:17 PM > To: David Matthews; dev...@li... > Subject: Re: RES: [Dev-C++] generated .exe is too big >=20 >=20 > David and List, > It seems unbelievable that the same code compiled with gcc 2.95=20 > generates a 5kb exe file, compared to 35kb when compiled under > gcc3.2. A 100% increase would be bad enough; but this is a 700% > increase ?? >=20 > Can other DevC++ users comment on this ? My assumption is the new C99 built in types and library facilities are = what caused that increase (the default is C99 now!). That implies that you = get the built in _Bool with values 0 or 1, built in _Complex type, long = long, etc. C no more maps directly in the machine (C++ still does). That is = CPUs do not have complex types. All these types with the _ can be used without _ in the normal way e.g. complex y; by including the corresponding header file (e.g. #include <complex.h>). What I personally would have liked is that they could have made = available these "exotic" types (because they are not made using general purpose facilities), as typedefs through the header files only. Well, as Dennis Ritchie told, there will not be any new K&R. C++98 provides specialised facilities made using general purpose = facilities. Some references: http://www.itworld.com/AppDev/710/lw-02-stroustrup/page_1.html http://www.itworld.com/Comp/3380/lw-12-ritchie/page_1.html Check what they say about C99. Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |