Author Topic: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly  (Read 296385 times)

Online ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 118
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.

 

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1929
Go to C:\Users\You\AppData\Roaming\CodeBlocks\share\codeblocks\compilers, if it is not empty try moving away all files.

Online ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 118
My directory C:\Users\Thier\AppData\Roaming\CodeBlocks\share\codeblocks\compilers is empty ...

Thank's.

Online ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 118
But, problem persist ...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7841
Copy of my option_gcc from svn-r13721 ; mine has different contents
« Last Edit: August 31, 2025, 04:47:12 pm by stahta01 »
C Programmer working to learn more about C++.
On Windows 11 64 bit using MSys2 UCRT64.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline gd_on

  • Lives here!
  • ****
  • Posts: 866
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 (26H2), svn C::B (last version or almost!), wxWidgets 3.3.3 (tests with 3.3.4), Msys2 Compilers 16.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Online ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 118
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.

Online ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 118
And, resolved for all delinations of GCC defined in CB.