> I had to reinstall MinGW and it came with gcc/g++ 4.7.0. However, I
> get some issues when I use it with wxwidgets (strange seg faults)
> while gcc/g++ 4.6.2 worked well before.
> How can I install MinGW with gcc/g++ 4.6.2 or 4.6.3?
I use wxWidgets from trunk and MinGW latest updates with GCC 4.7 (default
installation with mingw-get) without problems, with or without debug mode.
My apps are working with GCC 4.7 without modifications.
I don't use optimizations flags, only -Wall.
Is there a possible problem on your application code?
On Mon, Jul 9, 2012 at 9:26 AM, Keith Marshall <
> On 09/07/12 08:12, LRN wrote:
> > On 08.07.2012 9:40, Frédéric Bron wrote:
> >>> I always install all the MingW gcc versions separately in their
> >>> own directory
> >> How do you do that?
> > 1) Download and install mingw-get into your MinGW directory. Configure
> > it to use separate directories for MinGW and MSYS (i think it already
> > does by default, but it's best to make sure), be sure to use patterns
> > (%r, i think?) instead of hard-coded absolute paths.
> %R is the configuration macro you want; it represents the effective root
> directory of the mingw-get installation tree -- i.e. the immediate
> parent of the "bin" directory in which mingw-get.exe resides -- but the
> macro name is case-sensitive.
> > 2) Use mingw-get to install gcc version you want, and all libraries
> > and programs you need.
> > Repeat 1) and 2), installing into different MinGW directories, but
> > configuring the same MSys directory.
> With all mingw-get releases to date, yes.
> Note that this implies having a separate mingw-get installation
> associated with each independent MinGW installation. In a future
> release, I plan to add a capability for managing multiple independent
> MinGW and/or MSYS installations from a single mingw-get installation,
> via "system-map" specifications in the profile.xml file, but I'm not
> making any promises as to when I'll get the details worked out.
> If you are using the separate installations approach, you might consider
> symlink/junction sharing of the %R/var/cache directory among them all,
> to avoid repeated downloads of common packages.