Re: MinGW and Wx

  • From: "Marlon Brandão de Sousa" <splyt.lists@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Mon, 19 Nov 2007 16:07:47 -0200

Hello,
You can use strip to do the executables smaller.
They won't be as small as vc generated, but they won't be very big either.
please take a look at http://www.mingw.org/mingwfaq.shtml#faq-cpp-size
and read how to achieve this.
hth
Marlon

2007/11/19, Jamal Mazrui <empower@xxxxxxxxx>:
> Wow -- I'm shocked by the size of executables compiled with MinGW!  If
> that is the order of magnitude, even if including only the Wx libraries
> of interest, I think i'll opt for another C++ compiler.  What are the
> pros and cons of the free Borland versus Microsoft ones?
>
> FYI -- I found a guide to VC++ 2005 and Wx development at
> http://www.wxwidgets.org/wiki/index.php/Microsoft_Visual_CPP_Guide
>
> I was able to compile the Wx sources -- at least it appeared to have
> been done after a couple hours (I did the batch build of all debug,
> release, ANSI, and Unicode libraries).  In reading the guide mentioned
> above, however, I'm overwhelmed by the complexity of configuring VS to
> use these libraries in a new project.  If you can do a tutorial, I think
> I would prefer one that showed how the cl.exe command-line compiler can
> be used in a batch file that sets environment variables appropriately
> (similar to how I did the fruit basket program in C++/CLI).  I grasp the
> development environment better this way than with steps that involve
> going into various property sheets of an IDE or tinkering with its XML
> configuration files.
>
> Jamal
> On Tue, 20 Nov 2007, jaffar wrote:
>
> > Date: Tue, 20 Nov 2007 00:38:50 +0800
> > From: jaffar <jaffar@xxxxxxxxxxxxx>
> > Reply-To: programmingblind@xxxxxxxxxxxxx
> > To: programmingblind@xxxxxxxxxxxxx
> > Subject: Re: MinGW and Wx
> >
> > Hi Jamal.  Well, As it is already getting late over here in Singapore,
> I'll
> > write out a tutorial for you before i leave for work later in the morning.
> > However, My advice is for you to try to compile with either borland or VC
> > compilers instead because these produce smaller libraries and dlls, while
> > GCC tends to compile larger DLLS and Lib files which could go to like 20
> to
> > 30 Mb.  I kid you not.  Just let me know your preference and I'll write
> out
> > an appropiate tutorial.  Cheers!
> > ----- Original Message -----
> > From: "Jamal Mazrui" <empower@xxxxxxxxx>
> > To: <programmingblind@xxxxxxxxxxxxx>
> > Sent: Tuesday, November 20, 2007 12:31 AM
> > Subject: Re: MinGW and Wx
> >
> >
> > > Hi Jaffar,
> > > I'm not using Sygwin.  I think the MinGW version was 5.something -- it
> > > was the latest, complete install from the MinGW web site (which connects
> > > to SourceForge.net for the actual download).
> > >
> > > Jamal
> > > On Tue, 20 Nov 2007, jaffar
> > > wrote:
> > >
> > >> Date: Tue, 20 Nov 2007 00:20:11 +0800
> > >> From: jaffar <jaffar@xxxxxxxxxxxxx>
> > >> Reply-To: programmingblind@xxxxxxxxxxxxx
> > >> To: programmingblind@xxxxxxxxxxxxx
> > >> Subject: Re: MinGW and Wx
> > >>
> > >> Hi Jamal.  Can you please tell me which version of MinGW you downloaded
> > >> and
> > >> are using?  I encountered some problems with the earlier gcc compilers,
> > >> especially the v3.x ones.  Also,  Are you compiling purely in the MinGW
> > >> environment using MSYS or are you Compiling with MinGW using CygWin?  I
> > >> am
> > >> asking because there are a few tweaks you need to make before you can
> > >> successfully compile WX widgets in either scenarios.  Let me know and
> > >> I'll
> > >> do my best to help.  Cheers!
> > >> ----- Original Message -----
> > >> From: "Jamal Mazrui" <empower@xxxxxxxxx>
> > >> To: <programmingblind@xxxxxxxxxxxxx>
> > >> Sent: Monday, November 19, 2007 9:49 PM
> > >> Subject: MinGW and Wx
> > >>
> > >>
> > >> > Could any C++ developers help me understand how to compile the latest
> > >> > Wx
> > >> > source from
> > >> > http://WxWidgets.org
> > >> > with the latest compiler from
> > >> > http://MinGW.org
> > >> >
> > >> > I've followed all the instructions I could find on the web, but the
> Wx
> > >> > libraries fail to compile.  I'm sure this is done regularly since
> they
> > >> > are
> > >> > both open source projects that C++ developers use together.
> > >> >
> > >> > Jamal
> > >> >
> > >> > __________
> > >> > View the list's information and change your settings at
> > >> > //www.freelists.org/list/programmingblind
> > >> >
> > >>
> > >> __________
> > >> View the list's information and change your settings at
> > >> //www.freelists.org/list/programmingblind
> > >>
> > > __________
> > > View the list's information and change your settings at
> > > //www.freelists.org/list/programmingblind
> > >
> >
> > __________
> > View the list's information and change your settings at
> > //www.freelists.org/list/programmingblind
> >
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
>


-- 
When you say "I wrote a program that crashed Windows," people just
stare at you blankly and say "Hey, I got those with the system, for
free."
Linus Torvalds
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: