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

Offline ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 86
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: 1767
Go to C:\Users\You\AppData\Roaming\CodeBlocks\share\codeblocks\compilers, if it is not empty try moving away all files.

Offline ThierryD

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

Thank's.

Offline ThierryD

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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7801
    • My Best Post
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++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline gd_on

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

Offline ThierryD

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

Offline ThierryD

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