User forums > General (but related to Code::Blocks)
GCC 4.1.1 for MinGW
sethjackson:
--- Quote from: Michael on June 05, 2006, 06:09:03 pm ---
--- Quote from: sethjackson on June 05, 2006, 01:15:39 am ---
--- Quote from: Balazs on June 05, 2006, 12:55:40 am ---Another thing:
Why is it needed to install gcc 4 to C:\MinGW? I tried in other directory, where I prefer, but there it cannot find it's own includes and libs. How come? Is C:\MinGW hard coded into g++.exe? (I hope not)
--
Greets,
B.
--- End quote ---
No it is not hard coded. You just need to tell C::B where to look for GCC 4. :)
--- End quote ---
Hello,
Ceniza is right.
The first time I have tried GCC 4.1.0 in a MinGW not installed in C:\, I got several troubles to make it works with C::B. Since I installed MinGW in C:\ all works like a charm (no need for special tricks).
Best wishes,
Michael
--- End quote ---
Well I stand corrected. :)
jmccay:
Is there any way to change the directory it is installed in? I use a couple of versions.
jmccay
Ceniza:
That's the biggest mystery right now.
What I did was to create many bin directories, like bin-4.0.3 and bin-4.1.1, and rename them to just bin when I want to use that version.
jmccay:
Currently, on my winXP system, I am using System variables.
MINGW = %DEVHOME%\compilers\mingw%MINGWVER%
DEVHOME is the base development directories
MINGWVER is the mingw version like:
MINGWVER=3.4.5
under the path variable:
path =%MINGW%\bin
You have to exit cmd prompts & CB to get them to see the change, but it might be easier for some parts. The nice thing about this is I only have to change MINGWVER & exit out of cmd prompts & CB. I also use the system variables in the directory lists.
Him, has anyone mentioned this to the gcc people? It is definately an annoying bug. I hope it's fixed before 4.2 come out because that version should be able to compile wxWidgets without all the annoying warnings. A patch fixing was applied to that version.
jmccay
Poobah:
Ceniza, hasn't this been available since May? (Thanks, by the way.)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version