User forums > General (but related to Code::Blocks)

TDM's unofficial GCC 4.2.0 for MinGW (now with OpenMP, Fortran and Obj-C)

<< < (15/22) > >>

TDragon:
GCC 4.2.0 TDM-4 is now available! Fortran and Objective-C language packages have been added (and the core/C and C++ packages made separate), and all files are now hosted on SourceForge. As always, you should be able to install in almost any directory (I recommend one without spaces), and use it from almost any directory (unless you're running Vista). Please do a clean reinstall to use this version; don't extract it on top of a previous version.

See http://www.tdragon.net/recentgcc/ for details.

stahta01:
Link to sf.net page
http://sourceforge.net/projects/tdm-gcc/

The below line links to the wrong web page, it links to it's own web page.

--- Quote ---Browse all released packages and source packages: SourceForge Download Page.

--- End quote ---

Tim S

roland:
Wait, so, is it possible to compile wxWidgets 2.8.4 with "gcc-4.2.0-tdm-4-core-2" + gcc package on Vista Business 32bit? Cause I've been trying, unsuccessfully. I get a lot of errors from the "../../src/regex/" directory (and many others, so many I don't know what to do with!) and the compile log ends with:

mingw32-make: *** [gcc_mswudll\wxregex_regcomp.o] Error 1


I've been using information from the following guides:
http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.3_to_develop_Code::Blocks_(MSW)

I get a screenful of errors every time I try. I can compile a basic "hello world" command line app in codeblocks but can't compile wxwidgets from the command line... is there something missing from these guides? I'm reading over this thread but nothing has knocked me in the head yet...

Environmental Variables I use atm:
MINGW=C:\MinGW\
GCC_EXEC_PREFIX=C:\MinGW\
PATH=C:\MinGW\bin\;C:\MinGW\mingw32\bin\;C:\MinGW\libexec\gcc\mingw32\4.2.0\;C:\MinGW\lib\bin\

TDragon:

--- Quote from: stahta01 on July 09, 2007, 09:01:05 pm ---The below line links to the wrong web page, it links to it's own web page.

--- End quote ---
Thanks for catching that! Fixed.


--- Quote from: roland on July 09, 2007, 09:46:49 pm ---Wait, so, is it possible to compile wxWidgets 2.8.4 with "gcc-4.2.0-tdm-4-core-2" + gcc package on Vista Business 32bit? Cause I've been trying, unsuccessfully. I get a lot of errors from the "../../src/regex/" directory (and many others, so many I don't know what to do with!) and the compile log ends with:

mingw32-make: *** [gcc_mswudll\wxregex_regcomp.o] Error 1

--- End quote ---
It should be possible, as long as you have both the core and g++ packages (plus the mingw-runtime, w32api, binutils, and mingw32-make packages from mingw.org). What would be most helpful in figuring out the problem is the first error message you get. (If you have trouble finding it, try redirecting the output from the mingw32-make command: append " > errlog.txt" to the end of the command, then find errlog.txt in build\msw.)

roland:
Thank you. I aplogize for the newbishness, I am trying to get a working mingw setup on vista, and am makin gsure I can compile known-good testcases before I really dig in.

here is the compileline I used (after doing one with clean attached):


--- Code: ---mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release > errorlog.txt
--- End code ---

the contents of the log reads:

--- Code: ---gcc -c -o gcc_mswudll\wxregex_regcomp.o  -O2 -mthreads  -DHAVE_W32API_H -I..\..\include -I..\..\lib\gcc_dll\mswu -D__WXMSW__  -D_UNICODE   -MTgcc_mswudll\wxregex_regcomp.o -MFgcc_mswudll\wxregex_regcomp.o.d -MD ../../src/regex/regcomp.c

--- End code ---
I am using only the packages you suggest on your site, as linked through your signature (for example I am using the 20060824-1 binutils, not the newer one).
Thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version