User forums > Help

New compiler, old compiler information left in code::blocks build log.

(1/2) > >>

nore:
Hi all,

I recently installed a new compiler from winlibs after much research into 32-bit executable formats (x86) and processor architectures. I experienced some trouble working with a certain .dll and thought it best to go the route of working with 32-bit compiling. I first tried going the route of using a distribution of MinGW with SJLJ exception handling which did not end well, and finally decided to work with a 32-bit compiler instead. All is working well--no troubles; but I notice that when compiling programs within codeblocks there is a string of text at the top of the build log that references an include path left over from my previous actions. Having re-installed the program and ensuring that all search directories do not include this path, I do not see the cause of this text appearing.


--- Code: ---i686-w64-mingw32-g++.exe -Wall -Wall -m32 -g -Wall -m32 -g -IC:\mingw64_sjlj\x86_64-w64-mingw32\include

--- End code ---
The second entry shows the extraneous text.

-nore

stahta01:
Check the global compiler settings.

Settings -> Compiler ->

Edit: Check the project compiler settings

Project -> build options ->

Tim S.

nore:
I didn't see any left over compiler information is the project/build options.

stahta01:
If you post a full re-build log, someone might see something.

Or, you can just delete the Code::Blocks config files when C::B is shutdown and that would likely fix the stuff you did and forgot where you did it.
Edit: Add FAQ link https://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_Where_does_C::B.27s_configuration_file_store.3F_How_do_I_make_Code::Blocks_portable.3F
Edit2: Remember to do all the toolchain settings needed.

Tim S.

nore:
I don't see anything in the config file regarding the error either:

--- Code: --- <gcc>
<NAME>
<str>
<![CDATA[GNU GCC Compiler]]>
</str>
</NAME>
<COMPILER_OPTIONS>
<str>
<![CDATA[-Wall;-m32;-g;]]>
</str>
</COMPILER_OPTIONS>
<LINKER_OPTIONS>
<str>
<![CDATA[-m32;]]>
</str>
</LINKER_OPTIONS>
<MASTER_PATH>
<str>
<![CDATA[C:\mingw32]]>
</str>
</MASTER_PATH>
<C_COMPILER>
<str>
<![CDATA[i686-w64-mingw32-gcc.exe]]>
</str>
</C_COMPILER>
<CPP_COMPILER>
<str>
<![CDATA[i686-w64-mingw32-g++.exe]]>
</str>
</CPP_COMPILER>
<LINKER>
<str>
<![CDATA[i686-w64-mingw32-g++.exe]]>
</str>
</LINKER>
</gcc>

--- End code ---

The build log seems to include the old compiler directory as a path (-I) though it is not included in codeblocks' global directory or project-specific build options.

Navigation

[0] Message Index

[#] Next page

Go to full version