Code::Blocks Forums

User forums => Help => Topic started by: ThierryD on August 31, 2025, 12:36:41 pm

Title: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: ThierryD on August 31, 2025, 12:36:41 pm
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.

 
Title: Re: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: Miguel Gimenez on August 31, 2025, 01:35:22 pm
Go to C:\Users\You\AppData\Roaming\CodeBlocks\share\codeblocks\compilers, if it is not empty try moving away all files.
Title: Re: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: ThierryD on August 31, 2025, 02:21:55 pm
My directory C:\Users\Thier\AppData\Roaming\CodeBlocks\share\codeblocks\compilers is empty ...

Thank's.
Title: Re: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: ThierryD on August 31, 2025, 04:09:44 pm
But, problem persist ...
Title: Re: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: stahta01 on August 31, 2025, 04:45:38 pm
Copy of my option_gcc from svn-r13721 ; mine has different contents
Title: Re: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: gd_on on August 31, 2025, 04:48:40 pm
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.
Title: Re: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: ThierryD on August 31, 2025, 05:07:03 pm
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.
Title: Re: "Compiler Flags" is empty for "many" config of GCC compiler into CB last nigthly
Post by: ThierryD on August 31, 2025, 05:09:00 pm
And, resolved for all delinations of GCC defined in CB.