News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

"Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly

Started by ThierryD, August 31, 2025, 12:36:41 PM

Previous topic - Next topic

ThierryD

Hi,

I use last nigthly SVN 13710, but it's seems not proper at this version ... on W11 64 bits.
I search to understand why for my "many" config of derivated GCC, tab "Compiler Flags" is empty for all.
Just an test with compiler "GNU GCC Compiler" (default compiler) into CB that "point" to C:\MinGW (directory exist, structure of GCC compiler is good) go to tab "Compiler Flags", nothing appear.
I search about file "C:\CodeBlocks\share\CodeBlocks\compilers\options_gcc.xml" exist and his content is joined.
Rename  it to*.xml.bad ? Bad idea, CB signal many errors during startup ...

Thank's for tour help.

Regards.

TD.


Miguel Gimenez

Go to C:\Users\You\AppData\Roaming\CodeBlocks\share\codeblocks\compilers, if it is not empty try moving away all files.

ThierryD

My directory C:\Users\Thier\AppData\Roaming\CodeBlocks\share\codeblocks\compilers is empty ...

Thank's.


stahta01

Copy of my option_gcc from svn-r13721 ; mine has different contents
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

gd_on

Sometimes, it happens to me: an empty compiler configuration window. I don't know why. But generally, if in "Settings/Compiler/", I choose "GNU GCC Compiler (default)" and click on the rightest button (Reset Defaults), everything is reset and works again.
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

ThierryD

Thank's for all.

Install "new" file options_gcc.xml in C:\CodeBlocks\share\CodeBlocks\compilers resolve problem.

-> to gd_on, good suggestion, but ... after try nothing appear in tab "Compiler Flags" ...  Sorry.

Closed topic. Thank's.

Regards.

ThierryD