User forums > General (but related to Code::Blocks)
TDM's unofficial GCC 4.2.0 for MinGW (now with OpenMP, Fortran and Obj-C)
TDragon:
Right, thanks.
The point of this exercise, I guess, is that it is possible to avoid "pollution" of Windows' main set of environment variables by performing some trickery with batch files. However, for most users it's probably not worth all the additional work it would be.
The quickest solution for you right now is to restore all your GCC-related environment variables:
PATH=<whatever>;C:\MinGW\bin;C:\MinGW\mingw32\bin;C:\MinGW\libexec\gcc\mingw32\4.2.0
C_INCLUDE_PATH=C:\MinGW\include;C:\MinGW\lib\gcc\mingw32\4.2.0\include
CPLUS_INCLUDE_PATH=C:\MinGW\include;C:\MinGW\lib\gcc\mingw32\4.2.0\include;C:\MinGW\include\c++\4.2.0;C:\MinGW\include\c++\4.2.0\mingw32
LIBRARY_PATH=C:\MinGW\lib;C:\MinGW\lib\gcc\mingw32\4.2.0
I think those should be all that's necessary for doing command-line compilations (like building wxWidgets...), but if there are any others that you've found necessary, add them by all means.
If you run across more errors, toss 'em out and we'll knock 'em down. Meanwhile I'll try to sweet-talk someone into buying me a copy of Windows Vista.
roland:
Thanks! Compiling now. About 15mins in... so far so good... will edit with results.
I have successfully compiled a monolithic dll and then compiled a sample wxwidgets program in codeblocks. Thanks!
eloj:
Will you do a 4.2.1? Looks like it'll be out of RC2 in about a week. I don't know if there are any relevant bug-fixes though.
TDragon:
--- Quote from: eloj on July 13, 2007, 11:58:29 pm ---Will you do a 4.2.1? Looks like it'll be out of RC2 in about a week. I don't know if there are any relevant bug-fixes though.
--- End quote ---
As soon as it's released, definitely. There have been a few bug fixes, but the one I've been hoping would be fixed hasn't yet. There's still time, however, as it was mentioned in the most recent status report that the fix could make it in for an RC3.
dwmcqueen:
Something I noticed - and am having a weird time figuring out how.
I have this version installed to C:\MingW-4.2\. However, the linker is pulling in libraries from my C:\MingW\lib directory even though it is not specified as a library path (and isn't in an environment variable). It also pulls in from my C:\MingW-4.2\lib. Anyone know how to get it to ignore my C:\MingW\lib directory?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version