User forums > Help
Inconsistent autocomplete behavior between Windows and Linux
huycan:
I did try to upgrade the compiler manually by
--- Code: ---sudo apt-get install gcc-8 g++-8
--- End code ---
(They don't have 9 yet... and the current version is 10...)
Anyway, the problem still persists...
So, you might try to build the latest gcc from source....
Side note: I tried on Ubuntu 20 ... (it comes with gcc 9.3) and there is no problem...
BlueHazzard:
How have you installed the self build gcc?
I think this is some search path issue for the code completion...
AbdelrahmanSaid:
I confirm the behavior. I have done a quick test upgrading to gcc-9 from the ubuntu testing repositories and codeblocks immediately started working as expected.
--- Quote from: BlueHazzard on June 10, 2020, 09:25:03 am ---I think this is some search path issue for the code completion...
--- End quote ---
Any ideas on how to fix it if it is indeed a search path issue?
huycan:
--- Quote from: BlueHazzard on June 10, 2020, 09:25:03 am ---How have you installed the self build gcc?
--- End quote ---
Use the current gcc compiler in your system and build the new one from the source... It is a lot easy (more straight forward) to do it in Linux than Windows...
BlueHazzard:
--- Quote ---Use the current gcc compiler in your system and build the new one from the source... It is a lot easy (more straight forward) to do it in Linux than Windows...
--- End quote ---
The question was more, how did you use it in codeblocks. How did you give codeblocks the paths... Did you created a package and installed it, or did you used configure --prefix or did you used the default for configure....
installing is not building...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version