Author Topic: Why I have to kill the compilers before C::B start Help me  (Read 4705 times)

Offline luisalberto

  • Single posting newcomer
  • *
  • Posts: 8
Why I have to kill the compilers before C::B start Help me
« on: January 13, 2010, 10:39:00 pm »
I am using Code::blocks rev 6080 on Windows Vista Basic. I have Mingw 4.4.0 installed in defaults directories and the path pointing to C:\Mingw\bin. I like Codeblocks its a great IDE. But right now since previous nightly builds I have the following problem. Nearly every time I start Codeblocks I have to start at the same time Task Manager and if CodeBlocks check the compiler version or directories mingw32-c++ and mingw32-ccc are wake up from disk. That is not bad because they are the compilers except that Codeblcoks is stop from starting or freeze not until I kill in Task Manager one or both compilers. Then and only when the compilers are gone is that Code::blocks can start. I have deleted the hidden directories where Codeblcks write its configuration but to no avail. Codeblocks always ask for the presence of Mingw compilers and in the process C::B is hanged. I have look in all the configurations looking for a wxradioButton to uncheck but today I have not been able to start C::B normally as before. Please help me.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Why I have to kill the compilers before C::B start Help me
« Reply #1 on: January 14, 2010, 06:37:33 am »
Normally C::B calls the c-compiler to get the version.
Please post the exaxt version string of the executable you have set as the c-compiler on the toolchain-tab.

By the way: the master-path of the compiler should be "c:\Mingw" in your case (without the "/bin").

Offline luisalberto

  • Single posting newcomer
  • *
  • Posts: 8
Re: Why I have to kill the compilers before C::B start Help me
« Reply #2 on: January 14, 2010, 02:00:41 pm »
This is the code that C::B execute on version 8.02 I do not know if it has changed.
 wxString masterpath = m_MasterPath;
    if (masterpath.IsEmpty())
    {
        if (platform::windows)
            masterpath = _T("C:\\MinGW");
        else
            masterpath = _T("/usr");
    }
    wxString gcc_command = masterpath + sep + _T("bin") + sep + m_Programs.C;
    if (!wxFileExists(gcc_command))
        return;
    long result = wxExecute(gcc_command + _T(" --version"), output, errors, wxEXEC_NODISABLE);
 
 The documentation about wxExecute() says that wxExecute must include wxEXEC_ASYNC or wxEXEC_SYNC and can also include wxEXEC_NOHIDE, wxEXEC_MAKE_GROUP_LEADER (in either case) or wxEXEC_NODISABLE and wxEXEC_NOEVENTS or wxEXEC_BLOCK.

The exact version of the string is c:\MinGW as the master path. I have included "bin" in the environment variable PATH=,,,

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Why I have to kill the compilers before C::B start Help me
« Reply #3 on: January 14, 2010, 03:01:41 pm »
The documentation about wxExecute() says that wxExecute must include wxEXEC_ASYNC or wxEXEC_SYNC and can also include wxEXEC_NOHIDE, wxEXEC_MAKE_GROUP_LEADER (in either case) or wxEXEC_NODISABLE and wxEXEC_NOEVENTS or wxEXEC_BLOCK.
That's not correct

Quote from: wxWidgets 2.8.10 documentation
Finally, you may use the third overloaded version of this function to execute a process (always synchronously, the contents of flags is or'd with wxEXEC_SYNC) and capture its output in the array output. The fourth version adds the possibility to additionally capture the messages from standard error output in the errors array.

That's the the version we use here.

The exact version of the string is c:\MinGW as the master path. I have included "bin" in the environment variable PATH=,,,

I meant the version string of the compiler (if you type "gcc -v" or whatever you have as c-compiler in the toolchain on the console).

Offline luisalberto

  • Single posting newcomer
  • *
  • Posts: 8
Re: Why I have to kill the compilers before C::B start Help me
« Reply #4 on: January 14, 2010, 03:53:56 pm »
This is the Output capture in my program when i add the -v switch to the makefile.mk I capture the output in a wxTextCtrl
Project : Windows Application
Compiler : MinGW Compiler (called directly)
Directory : C:\TEMP2\Win2\Connect
------ Build started: Project: Connect.wxp, Configuration: Release Win32 ------
Starting job C:\MinGW\bin\mingw32-make.exe -f "C:\TEMP2\Win2\Connect\Connect.mk" clean all CONFIG=release
if exist VCRelease\*.o del VCRelease\*.o
if exist VCRelease\*.res del VCRelease\*.res
if exist VCRelease\*.d del VCRelease\*.d
if exist VCRelease\Connect.exe del VCRelease\Connect.exe
C:\MinGW\bin\mingw32-g++.exe -c -v Connect.cpp -pipe -mthreads -Wall -Wextra -O2 -Wshadow -fexceptions -DWIN32 -D__GNUWIN32__ -DHAVE_W32API_H -DNOPCH -D_WINDOWS -D_WIN32 -DNDEBUG  -MTVCRelease\Connect.o -MFVCRelease\Connect.o.d -MD -MP -o VCRelease\Connect.o -I. -I"C:\MinGW\include" -I"C:\MinGW\mingw32\include" -I"C:\MinGW\lib\gcc\mingw32\4.4.0\include"
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj --enable-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --prefix=/mingw --with-gmp=/mingw/src/gmp/root --with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread model: win32
gcc version 4.4.0 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-pipe' '-mthreads' '-Wall' '-Wextra' '-O2' '-Wshadow' '-fexceptions' '-DWIN32' '-D__GNUWIN32__' '-DHAVE_W32API_H' '-DNOPCH' '-D_WINDOWS' '-D_WIN32' '-DNDEBUG' '-MTVCRelease\Connect.o' '-MFVCRelease\Connect.o.d' '-MD' '-MP' '-o' 'VCRelease\Connect.o' '-I.' '-IC:\MinGW\include' '-IC:\MinGW\mingw32\include' '-IC:\MinGW\lib\gcc\mingw32\4.4.0\include' '-shared-libgcc' '-mtune=i386'
 c:/mingw/bin/../libexec/gcc/mingw32/4.4.0/cc1plus.exe -quiet -v -I. -IC:\MinGW\include -IC:\MinGW\mingw32\include -IC:\MinGW\lib\gcc\mingw32\4.4.0\include -iprefix c:\mingw\bin\../lib/gcc/mingw32/4.4.0/ -MD VCRelease\Connect.d -MFVCRelease\Connect.o.d -MP -MTVCRelease\Connect.o -MQ VCRelease\Connect.o -D_MT -DWIN32 -D__GNUWIN32__ -DHAVE_W32API_H -DNOPCH -D_WINDOWS -D_WIN32 -DNDEBUG Connect.cpp -quiet -dumpbase Connect.cpp -mthreads -mtune=i386 -auxbase-strip VCRelease\Connect.o -O2 -Wall -Wextra -Wshadow -version -fexceptions -o - |
 c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/as.exe -o VCRelease\Connect.o
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++/mingw32"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++/backward"
ignoring duplicate directory "/mingw/lib/gcc/mingw32/4.4.0/../../../../include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include-fixed"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/../../../../mingw32/include"
ignoring duplicate directory "/mingw/include"
ignoring duplicate directory "C:\MinGW\include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "C:\MinGW\mingw32\include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "C:\MinGW\lib\gcc\mingw32\4.4.0\include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 .
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/mingw32
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/backward
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include
windres.exe -i Connect.rc --input-format=rc -O coff -o VCRelease\Connect.res -I. -I"C:\MinGW\include" -I"C:\MinGW\mingw32\include" -I"C:\MinGW\lib\gcc\mingw32\4.4.0\include" --define NOPCH
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include-fixed
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../mingw32/include
End of search list.
GNU C++ (GCC) version 4.4.0 (mingw32)
   compiled by GNU C version 4.4.0, GMP version 4.2.4, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0109de29f5e0302b85b321b8683f0ec8
Connect.cpp:33: warning: unused parameter 'hPrevInstance'
Connect.cpp:33: warning: unused parameter 'lpszCmdLine'
Connect.cpp:149: warning: unused parameter 'hwndCtl'
Connect.cpp:149: warning: unused parameter 'codeNotify'
Connect.cpp:164: warning: unused parameter 'hwnd'
Connect.cpp:170: warning: unused parameter 'lParam'
COMPILER_PATH=c:/mingw/bin/../libexec/gcc/mingw32/4.4.0/;c:/mingw/bin/../libexec/gcc/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/
LIBRARY_PATH=c:/mingw/bin/../lib/gcc/mingw32/4.4.0/;c:/mingw/bin/../lib/gcc/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/lib/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../;/mingw/lib/
COLLECT_GCC_OPTIONS='-c' '-v' '-pipe' '-mthreads' '-Wall' '-Wextra' '-O2' '-Wshadow' '-fexceptions' '-DWIN32' '-D__GNUWIN32__' '-DHAVE_W32API_H' '-DNOPCH' '-D_WINDOWS' '-D_WIN32' '-DNDEBUG' '-MTVCRelease\Connect.o' '-MFVCRelease\Connect.o.d' '-MD' '-MP' '-o' 'VCRelease\Connect.o' '-I.' '-IC:\MinGW\include' '-IC:\MinGW\mingw32\include' '-IC:\MinGW\lib\gcc\mingw32\4.4.0\include' '-shared-libgcc' '-mtune=i386'
C:\MinGW\bin\mingw32-g++.exe VCRelease\Connect.o VCRelease\Connect.res -L"C:\MinGW\lib" -L"C:\MinGW\lib\gcc\mingw32\4.4.0" -o VCRelease\Connect.exe -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 -lodbccp32 -lshlwapi -s -Wl,--subsystem,windows -mwindows
Ended job
Job took 1821 ms
File Connect.exe size is 62 kBytes
Connect.wxp - 0 error(s), 6 warning(s)
========== Rebuild All: 1 succeeded, 0 failed ==========
Process 4476 terminated with exit code 0.

Offline luisalberto

  • Single posting newcomer
  • *
  • Posts: 8
Re: Why I have to kill the compilers before C::B start Help me
« Reply #5 on: January 14, 2010, 04:19:30 pm »
And this is the Output compiling the sample program of wxArtProvider
Project : WxWidgets GUI Application
Compiler : MinGW Compiler (called directly)
Directory : C:\wxWidgets-2.9.0\samples\artprov
------ Build started: Project: artprov.wxp, Configuration: Release Win32 ------
Starting job C:\MinGW\bin\mingw32-make.exe -f "C:\wxWidgets-2.9.0\samples\artprov\artprov.mk" clean all CONFIG=release
if exist VCRelease\*.o del VCRelease\*.o
if exist VCRelease\*.res del VCRelease\*.res
if exist VCRelease\*.d del VCRelease\*.d
if exist VCRelease\artprov.exe del VCRelease\artprov.exe
C:\MinGW\bin\mingw32-g++.exe -c -v artbrows.cpp -pipe -mthreads -Wall -Wextra -O2 -Wshadow -fno-rtti -fno-pcc-struct-return -fstrict-aliasing -Wno-write-strings -fno-exceptions -Wno-ctor-dtor-privacy -DWIN32 -D__GNUWIN32__ -DHAVE_W32API_H -DNOPCH -D__WXMSW__ -D_WINDOWS -D__WIN32__ -D_WIN32 -D__WINDOWS__ -DNDEBUG -DUNICODE -D_UNICODE  -MTVCRelease\artbrows.o -MFVCRelease\artbrows.o.d -MD -MP -o VCRelease\artbrows.o -I. -I"C:\MinGW\include" -I"C:\MinGW\mingw32\include" -I"C:\MinGW\lib\gcc\mingw32\4.4.0\include" -I"C:\wxWidgets-2.9.0\include" -I"C:\wxWidgets-2.9.0\lib\gcc_lib\mswu"
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj --enable-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --prefix=/mingw --with-gmp=/mingw/src/gmp/root --with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread model: win32
gcc version 4.4.0 (GCC) COLLECT_GCC_OPTIONS='-c' '-v' '-pipe' '-mthreads' '-Wall' '-Wextra' '-O2' '-Wshadow' '-fno-rtti' '-fno-pcc-struct-return' '-fstrict-aliasing' '-Wno-write-strings' '-fno-exceptions' '-Wno-ctor-dtor-privacy' '-DWIN32' '-D__GNUWIN32__' '-DHAVE_W32API_H' '-DNOPCH' '-D__WXMSW__' '-D_WINDOWS' '-D__WIN32__' '-D_WIN32' '-D__WINDOWS__' '-DNDEBUG' '-DUNICODE' '-D_UNICODE' '-MTVCRelease\artbrows.o' '-MFVCRelease\artbrows.o.d' '-MD' '-MP' '-o' 'VCRelease\artbrows.o' '-I.' '-IC:\MinGW\include' '-IC:\MinGW\mingw32\include' '-IC:\MinGW\lib\gcc\mingw32\4.4.0\include' '-IC:\wxWidgets-2.9.0\include' '-IC:\wxWidgets-2.9.0\lib\gcc_lib\mswu' '-shared-libgcc' '-mtune=i386'
 c:/mingw/bin/../libexec/gcc/mingw32/4.4.0/cc1plus.exe -quiet -v -I. -IC:\MinGW\include -IC:\MinGW\mingw32\include -IC:\MinGW\lib\gcc\mingw32\4.4.0\include -IC:\wxWidgets-2.9.0\include -IC:\wxWidgets-2.9.0\lib\gcc_lib\mswu -iprefix c:\mingw\bin\../lib/gcc/mingw32/4.4.0/ -MD VCRelease\artbrows.d -MFVCRelease\artbrows.o.d -MP -MTVCRelease\artbrows.o -MQ VCRelease\artbrows.o -D_MT -DWIN32 -D__GNUWIN32__ -DHAVE_W32API_H -DNOPCH -D__WXMSW__ -D_WINDOWS -D__WIN32__ -D_WIN32 -D__WINDOWS__ -DNDEBUG -DUNICODE -D_UNICODE artbrows.cpp -quiet -dumpbase artbrows.cpp -mthreads -mtune=i386 -auxbase-strip VCRelease\artbrows.o -O2 -Wall -Wextra -Wshadow -Wno-write-strings -Wno-ctor-dtor-privacy -version -fno-rtti -fno-pcc-struct-return -fstrict-aliasing -fno-exceptions -o - |
 c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/as.exe -o VCRelease\artbrows.o
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++/mingw32"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++/backward"
ignoring duplicate directory "/mingw/lib/gcc/mingw32/4.4.0/../../../../include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include-fixed"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/../../../../mingw32/include"
ignoring duplicate directory "/mingw/include"
ignoring duplicate directory "C:\MinGW\include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "C:\MinGW\mingw32\include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "C:\MinGW\lib\gcc\mingw32\4.4.0\include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
C:\MinGW\bin\mingw32-g++.exe -c -v arttest.cpp -pipe -mthreads -Wall -Wextra -O2 -Wshadow -fno-rtti -fno-pcc-struct-return -fstrict-aliasing -Wno-write-strings -fno-exceptions -Wno-ctor-dtor-privacy -DWIN32 -D__GNUWIN32__ -DHAVE_W32API_H -DNOPCH -D__WXMSW__ -D_WINDOWS -D__WIN32__ -D_WIN32 -D__WINDOWS__ -DNDEBUG -DUNICODE -D_UNICODE  -MTVCRelease\arttest.o -MFVCRelease\arttest.o.d -MD -MP -o VCRelease\arttest.o -I. -I"C:\MinGW\include" -I"C:\MinGW\mingw32\include" -I"C:\MinGW\lib\gcc\mingw32\4.4.0\include" -I"C:\wxWidgets-2.9.0\include" -I"C:\wxWidgets-2.9.0\lib\gcc_lib\mswu"
#include <...> search starts here:
 .
 C:\wxWidgets-2.9.0\include
 C:\wxWidgets-2.9.0\lib\gcc_lib\mswu
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/mingw32
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/backward
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include-fixed
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../mingw32/include
End of search list.
GNU C++ (GCC) version 4.4.0 (mingw32)
   compiled by GNU C version 4.4.0, GMP version 4.2.4, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0109de29f5e0302b85b321b8683f0ec8
COMPILER_PATH=c:/mingw/bin/../libexec/gcc/mingw32/4.4.0/;c:/mingw/bin/../libexec/gcc/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/
LIBRARY_PATH=c:/mingw/bin/../lib/gcc/mingw32/4.4.0/;c:/mingw/bin/../lib/gcc/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/lib/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../;/mingw/lib/
COLLECT_GCC_OPTIONS='-c' '-v' '-pipe' '-mthreads' '-Wall' '-Wextra' '-O2' '-Wshadow' '-fno-rtti' '-fno-pcc-struct-return' '-fstrict-aliasing' '-Wno-write-strings' '-fno-exceptions' '-Wno-ctor-dtor-privacy' '-DWIN32' '-D__GNUWIN32__' '-DHAVE_W32API_H' '-DNOPCH' '-D__WXMSW__' '-D_WINDOWS' '-D__WIN32__' '-D_WIN32' '-D__WINDOWS__' '-DNDEBUG' '-DUNICODE' '-D_UNICODE' '-MTVCRelease\artbrows.o' '-MFVCRelease\artbrows.o.d' '-MD' '-MP' '-o' 'VCRelease\artbrows.o' '-I.' '-IC:\MinGW\include' '-IC:\MinGW\mingw32\include' '-IC:\MinGW\lib\gcc\mingw32\4.4.0\include' '-IC:\wxWidgets-2.9.0\include' '-IC:\wxWidgets-2.9.0\lib\gcc_lib\mswu' '-shared-libgcc' '-mtune=i386'
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj --enable-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --prefix=/mingw --with-gmp=/mingw/src/gmp/root --with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread model: win32
gcc version 4.4.0 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-pipe' '-mthreads' '-Wall' '-Wextra' '-O2' '-Wshadow' '-fno-rtti' '-fno-pcc-struct-return' '-fstrict-aliasing' '-Wno-write-strings' '-fno-exceptions' '-Wno-ctor-dtor-privacy' '-DWIN32' '-D__GNUWIN32__' '-DHAVE_W32API_H' '-DNOPCH' '-D__WXMSW__' '-D_WINDOWS' '-D__WIN32__' '-D_WIN32' '-D__WINDOWS__' '-DNDEBUG' '-DUNICODE' '-D_UNICODE' '-MTVCRelease\arttest.o' '-MFVCRelease\arttest.o.d' '-MD' '-MP' '-o' 'VCRelease\arttest.o' '-I.' '-IC:\MinGW\include' '-IC:\MinGW\mingw32\include' '-IC:\MinGW\lib\gcc\mingw32\4.4.0\include' '-IC:\wxWidgets-2.9.0\include' '-IC:\wxWidgets-2.9.0\lib\gcc_lib\mswu' '-shared-libgcc' '-mtune=i386'
 c:/mingw/bin/../libexec/gcc/mingw32/4.4.0/cc1plus.exe -quiet -v -I. -IC:\MinGW\include -IC:\MinGW\mingw32\include -IC:\MinGW\lib\gcc\mingw32\4.4.0\include -IC:\wxWidgets-2.9.0\include -IC:\wxWidgets-2.9.0\lib\gcc_lib\mswu -iprefix c:\mingw\bin\../lib/gcc/mingw32/4.4.0/ -MD VCRelease\arttest.d -MFVCRelease\arttest.o.d -MP -MTVCRelease\arttest.o -MQ VCRelease\arttest.o -D_MT -DWIN32 -D__GNUWIN32__ -DHAVE_W32API_H -DNOPCH -D__WXMSW__ -D_WINDOWS -D__WIN32__ -D_WIN32 -D__WINDOWS__ -DNDEBUG -DUNICODE -D_UNICODE arttest.cpp -quiet -dumpbase arttest.cpp -mthreads -mtune=i386 -auxbase-strip VCRelease\arttest.o -O2 -Wall -Wextra -Wshadow -Wno-write-strings -Wno-ctor-dtor-privacy -version -fno-rtti -fno-pcc-struct-return -fstrict-aliasing -fno-exceptions -o - |
 c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/as.exe -o VCRelease\arttest.o
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++/mingw32"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include/c++/backward"
ignoring duplicate directory "/mingw/lib/gcc/mingw32/4.4.0/../../../../include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/include-fixed"
ignoring duplicate directory "c:/mingw/lib/gcc/../../lib/gcc/mingw32/4.4.0/../../../../mingw32/include"
ignoring duplicate directory "/mingw/include"
ignoring duplicate directory "C:\MinGW\include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "C:\MinGW\mingw32\include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "C:\MinGW\lib\gcc\mingw32\4.4.0\include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
windres.exe -i arttest.rc --input-format=rc -O coff -o VCRelease\arttest.res -I. -I"C:\MinGW\include" -I"C:\MinGW\mingw32\include" -I"C:\MinGW\lib\gcc\mingw32\4.4.0\include" -I"C:\wxWidgets-2.9.0\include" -I"C:\wxWidgets-2.9.0\lib\gcc_lib\mswu" --define NOPCH
#include <...> search starts here:
 .
 C:\wxWidgets-2.9.0\include
 C:\wxWidgets-2.9.0\lib\gcc_lib\mswu
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/mingw32
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/backward
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include-fixed
 c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../mingw32/include
End of search list.
GNU C++ (GCC) version 4.4.0 (mingw32)
   compiled by GNU C version 4.4.0, GMP version 4.2.4, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0109de29f5e0302b85b321b8683f0ec8
COMPILER_PATH=c:/mingw/bin/../libexec/gcc/mingw32/4.4.0/;c:/mingw/bin/../libexec/gcc/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/
LIBRARY_PATH=c:/mingw/bin/../lib/gcc/mingw32/4.4.0/;c:/mingw/bin/../lib/gcc/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/lib/;c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../;/mingw/lib/
COLLECT_GCC_OPTIONS='-c' '-v' '-pipe' '-mthreads' '-Wall' '-Wextra' '-O2' '-Wshadow' '-fno-rtti' '-fno-pcc-struct-return' '-fstrict-aliasing' '-Wno-write-strings' '-fno-exceptions' '-Wno-ctor-dtor-privacy' '-DWIN32' '-D__GNUWIN32__' '-DHAVE_W32API_H' '-DNOPCH' '-D__WXMSW__' '-D_WINDOWS' '-D__WIN32__' '-D_WIN32' '-D__WINDOWS__' '-DNDEBUG' '-DUNICODE' '-D_UNICODE' '-MTVCRelease\arttest.o' '-MFVCRelease\arttest.o.d' '-MD' '-MP' '-o' 'VCRelease\arttest.o' '-I.' '-IC:\MinGW\include' '-IC:\MinGW\mingw32\include' '-IC:\MinGW\lib\gcc\mingw32\4.4.0\include' '-IC:\wxWidgets-2.9.0\include' '-IC:\wxWidgets-2.9.0\lib\gcc_lib\mswu' '-shared-libgcc' '-mtune=i386'
C:\MinGW\bin\mingw32-g++.exe VCRelease\artbrows.o VCRelease\arttest.o VCRelease\arttest.res -L"C:\MinGW\lib" -L"C:\MinGW\lib\gcc\mingw32\4.4.0" -L"C:\wxWidgets-2.9.0\lib\gcc_lib" -o VCRelease\artprov.exe -lwxmsw29u_stc -lwxmsw29u_richtext -lwxmsw29u_propgrid -lwxmsw29u_aui -lwxmsw29u_xrc -lwxbase29u_xml -lwxmsw29u_html -lwxmsw29u_adv -lwxmsw29u_core -lwxbase29u_net -lwxbase29u -lwxscintilla -lwxexpat -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lshlwapi -lwininet -static-libgcc -s -Wl,--subsystem,windows -mwindows
Ended job
Job took 11582 ms
File artprov.exe size is 4467 kBytes
artprov.wxp - 0 error(s), 0 warning(s)
========== Rebuild All: 1 succeeded, 0 failed ==========
Process 2448 terminated with exit code 0.

Offline luisalberto

  • Single posting newcomer
  • *
  • Posts: 8
Re: Why I have to kill the compilers before C::B start Help me
« Reply #6 on: January 15, 2010, 04:01:44 pm »
gcc Compiler Options...
-v Verbose mode. Print out GNU CPP’s version number at the beginning of
execution, and report the final form of the include path.
-version
--version
Print out GNU CPP’s version number. With one dash, proceed to preprocess
as normal. With two dashes, exit immediately. (This do not happen in my computer Vista basic)
In my computer if I execute the command as gcc --version the program is halted and crashed
...............
 if ( !CreateProcess( NULL
                                   , "c:\\Mingw\\bin\\gcc -v"
                                   , NULL
                                   , NULL
                                   , TRUE
                                   , 0
                                   , NULL
                                   , NULL
                                   , &si
                                   , &pi ) )
                {
                  ReportError();
                  break;
                }
This code produce--->>>
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj --enable-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --prefix=/mingw --with-gmp=/mingw/src/gmp/root --with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread model: win32
gcc version 4.4.0 (GCC)