Thread: RE: [Dev-C++] a small comparison
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Rob <ro...@us...> - 2002-10-01 02:17:18
|
Ahh, I've just learned my way around MSVC++ a bit better now! Oddly enough,
the difference in executable size between debug and release mode was never
covered in any of my classes.
The release mode version of the executable is down to 164 KB, which is still
a healthy bit larger than the one generated with Dev-C++, but not nearly as
bad as the original version.
Rob
> -----Original Message-----
> From: Matías Pequeño [mailto:ma...@fi...]
> Sent: Monday, September 30, 2002 9:13 PM
> To: Rob
> Subject: Re: [Dev-C++] a small comparison
>
>
> I'm sorry, the word was release,
>
> you're compiling the exe in Debug mode, try compiling it in
> Release mode...
>
> ----- Original Message -----
> From: "Rob" <ro...@us...>
> To: "Dev-C++ List" <dev...@li...>
> Sent: Monday, September 30, 2002 10:53 PM
> Subject: RE: [Dev-C++] a small comparison
>
>
> > Retail mode? I'm not familiar with that term.
> >
> > The process I used was to create a New Win32 Project, selecting console
> > application and checking blank project on the Win32 Application Wizard
> > dialogue. Then I selected Add New Item (.cpp file) and paste the source
> into
> > it.
> >
> > I saved the file, built & compiled.
> >
> > Rob
> >
> > > -----Original Message-----
> > > From: dev...@li...
> > > [mailto:dev...@li...]On Behalf Of Matías
> > > Pequeño
> > > Sent: Monday, September 30, 2002 8:32 PM
> > > To: Dev-C++ List
> > > Subject: Re: [Dev-C++] a small comparison
> > >
> > >
> > > Some tips, be sure you're in retail mode, you're not linking
> > > statically any
> > > unused library and you started a Win32 Console project.
> > > If the size still is the same, I don't have the slighest idea :)
> > >
> > > ----- Original Message -----
> > > From: "Rob" <ro...@us...>
> > > To: "Dev-C++ List" <dev...@li...>
> > > Sent: Monday, September 30, 2002 9:40 PM
> > > Subject: [Dev-C++] a small comparison
> > >
> > >
> > > > This isn't exactly cutting-edge science, but I pass it along
> > > for posterity
> > > > anyway.
> > > >
> > > > I have Dev-C++ and Microsoft Visual C++ .net Standard
> installed on the
> > > same
> > > > Win2K machine here, and compiled the same file in each:
> > > >
> > > > #include <iostream>
> > > > using namespace std;
> > > >
> > > > int main()
> > > > {
> > > > cout << "Doh!";
> > > > return 0;
> > > > }
> > > >
> > > > The difference in size between the .exe files created by the
> > > two programs
> > > > was the curious part.
> > > >
> > > > Microsoft Visual C++ .net Standard ==> 452 KB
> > > > Dev-C++ ==> 71 KB
> > > >
> > > > It's hardly scientific, based on only one scenario, but I thought it
> was
> > > > interesting.
> > > >
> > > > regards,
> > > > Rob
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > 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
> > > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > 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: Rob <ro...@us...> - 2002-10-01 02:32:28
|
Interesting. I don't have version 6 available. Does anyone else have a way
to compare or contrast?
Rob
> -----Original Message-----
> From: Matías Pequeño [mailto:ma...@fi...]
> Sent: Monday, September 30, 2002 9:35 PM
> To: Rob
> Subject: Re: [Dev-C++] a small comparison
>
>
> I did the same example and I got a 55kb file in VC++ 6.0...
>
> ----- Original Message -----
> From: "Rob" <ro...@us...>
> To: "Dev-C++ List" <dev...@li...>
> Sent: Monday, September 30, 2002 11:25 PM
> Subject: RE: [Dev-C++] a small comparison
>
>
> > Ahh, I've just learned my way around MSVC++ a bit better now! Oddly
> enough,
> > the difference in executable size between debug and release
> mode was never
> > covered in any of my classes.
> >
> > The release mode version of the executable is down to 164 KB, which is
> still
> > a healthy bit larger than the one generated with Dev-C++, but not nearly
> as
> > bad as the original version.
> >
> > Rob
> >
> > > -----Original Message-----
> > > From: Matías Pequeño [mailto:ma...@fi...]
> > > Sent: Monday, September 30, 2002 9:13 PM
> > > To: Rob
> > > Subject: Re: [Dev-C++] a small comparison
> > >
> > >
> > > I'm sorry, the word was release,
> > >
> > > you're compiling the exe in Debug mode, try compiling it in
> > > Release mode...
> > >
> > > ----- Original Message -----
> > > From: "Rob" <ro...@us...>
> > > To: "Dev-C++ List" <dev...@li...>
> > > Sent: Monday, September 30, 2002 10:53 PM
> > > Subject: RE: [Dev-C++] a small comparison
> > >
> > >
> > > > Retail mode? I'm not familiar with that term.
> > > >
> > > > The process I used was to create a New Win32 Project, selecting
> console
> > > > application and checking blank project on the Win32
> Application Wizard
> > > > dialogue. Then I selected Add New Item (.cpp file) and paste the
> source
> > > into
> > > > it.
> > > >
> > > > I saved the file, built & compiled.
> > > >
> > > > Rob
> > > >
> > > > > -----Original Message-----
> > > > > From: dev...@li...
> > > > > [mailto:dev...@li...]On Behalf Of
> Matías
> > > > > Pequeño
> > > > > Sent: Monday, September 30, 2002 8:32 PM
> > > > > To: Dev-C++ List
> > > > > Subject: Re: [Dev-C++] a small comparison
> > > > >
> > > > >
> > > > > Some tips, be sure you're in retail mode, you're not linking
> > > > > statically any
> > > > > unused library and you started a Win32 Console project.
> > > > > If the size still is the same, I don't have the slighest idea :)
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Rob" <ro...@us...>
> > > > > To: "Dev-C++ List" <dev...@li...>
> > > > > Sent: Monday, September 30, 2002 9:40 PM
> > > > > Subject: [Dev-C++] a small comparison
> > > > >
> > > > >
> > > > > > This isn't exactly cutting-edge science, but I pass it along
> > > > > for posterity
> > > > > > anyway.
> > > > > >
> > > > > > I have Dev-C++ and Microsoft Visual C++ .net Standard
> > > installed on the
> > > > > same
> > > > > > Win2K machine here, and compiled the same file in each:
> > > > > >
> > > > > > #include <iostream>
> > > > > > using namespace std;
> > > > > >
> > > > > > int main()
> > > > > > {
> > > > > > cout << "Doh!";
> > > > > > return 0;
> > > > > > }
> > > > > >
> > > > > > The difference in size between the .exe files created by the
> > > > > two programs
> > > > > > was the curious part.
> > > > > >
> > > > > > Microsoft Visual C++ .net Standard ==> 452 KB
> > > > > > Dev-C++ ==> 71 KB
> > > > > >
> > > > > > It's hardly scientific, based on only one scenario, but
> I thought
> it
> > > was
> > > > > > interesting.
> > > > > >
> > > > > > regards,
> > > > > > Rob
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > -------------------------------------------------------
> > > > > > 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
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > 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
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > 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
> > > >
> > >
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > 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: PhrostByte <Phr...@so...> - 2002-10-01 03:14:44
|
Odd.. the equivalent of that in C compiles to 8kb in GCC3.2 - 4KB with
GCC 2.95
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Rob
Sent: Monday, September 30, 2002 7:26 PM
To: Dev-C++ List
Subject: RE: [Dev-C++] a small comparison
Ahh, I've just learned my way around MSVC++ a bit better now! Oddly
enough,
the difference in executable size between debug and release mode was
never
covered in any of my classes.
The release mode version of the executable is down to 164 KB, which is
still
a healthy bit larger than the one generated with Dev-C++, but not nearly
as
bad as the original version.
Rob
> -----Original Message-----
> From: Mat=EDas Peque=F1o [mailto:ma...@fi...]
> Sent: Monday, September 30, 2002 9:13 PM
> To: Rob
> Subject: Re: [Dev-C++] a small comparison
>
>
> I'm sorry, the word was release,
>
> you're compiling the exe in Debug mode, try compiling it in
> Release mode...
>
> ----- Original Message -----
> From: "Rob" <ro...@us...>
> To: "Dev-C++ List" <dev...@li...>
> Sent: Monday, September 30, 2002 10:53 PM
> Subject: RE: [Dev-C++] a small comparison
>
>
> > Retail mode? I'm not familiar with that term.
> >
> > The process I used was to create a New Win32 Project, selecting
console
> > application and checking blank project on the Win32 Application
Wizard
> > dialogue. Then I selected Add New Item (.cpp file) and paste the
source
> into
> > it.
> >
> > I saved the file, built & compiled.
> >
> > Rob
> >
> > > -----Original Message-----
> > > From: dev...@li...
> > > [mailto:dev...@li...]On Behalf Of
Mat=EDas
> > > Peque=F1o
> > > Sent: Monday, September 30, 2002 8:32 PM
> > > To: Dev-C++ List
> > > Subject: Re: [Dev-C++] a small comparison
> > >
> > >
> > > Some tips, be sure you're in retail mode, you're not linking
> > > statically any
> > > unused library and you started a Win32 Console project.
> > > If the size still is the same, I don't have the slighest idea :)
> > >
> > > ----- Original Message -----
> > > From: "Rob" <ro...@us...>
> > > To: "Dev-C++ List" <dev...@li...>
> > > Sent: Monday, September 30, 2002 9:40 PM
> > > Subject: [Dev-C++] a small comparison
> > >
> > >
> > > > This isn't exactly cutting-edge science, but I pass it along
> > > for posterity
> > > > anyway.
> > > >
> > > > I have Dev-C++ and Microsoft Visual C++ .net Standard
> installed on the
> > > same
> > > > Win2K machine here, and compiled the same file in each:
> > > >
> > > > #include <iostream>
> > > > using namespace std;
> > > >
> > > > int main()
> > > > {
> > > > cout << "Doh!";
> > > > return 0;
> > > > }
> > > >
> > > > The difference in size between the .exe files created by the
> > > two programs
> > > > was the curious part.
> > > >
> > > > Microsoft Visual C++ .net Standard =3D=3D> 452 KB
> > > > Dev-C++ =3D=3D> 71 KB
> > > >
> > > > It's hardly scientific, based on only one scenario, but I
thought it
> was
> > > > interesting.
> > > >
> > > > regards,
> > > > Rob
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > 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
> > > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > 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
> >
>
>
-------------------------------------------------------
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
|