Author Topic: How can I disable compiler check on startup?  (Read 2944 times)

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
How can I disable compiler check on startup?
« on: March 01, 2023, 09:08:53 am »
C::B loading slow on startup, how can I speed up? I disable some plugins but still loading slow.

I see, C::B check the compiler on startup, maybe this is the problem.

How can I disable compiler check on startup?
« Last Edit: March 01, 2023, 09:49:34 am by mariusm »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: How can I disable compiler check on startup?
« Reply #1 on: March 01, 2023, 05:12:57 pm »
C::B loading slow on startup, how can I speed up? I disable some plugins but still loading slow.

I see, C::B check the compiler on startup, maybe this is the problem.

How can I disable compiler check on startup?


What OS? Windows, Linux, Mac ?
If Windows and you're using a virus checker, try excluding CodeBlocks folder from the virus checker.
« Last Edit: March 01, 2023, 05:14:47 pm by Pecan »

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Re: How can I disable compiler check on startup?
« Reply #2 on: March 01, 2023, 09:56:22 pm »
Windows, version 20.3 in fact all versions loading slow on startup compared to other programs like, e.g. Visual Studio

It's not from another program, it's from C::B, execute some useless jobs on startup.

Nor do I have virus checker or other.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: How can I disable compiler check on startup?
« Reply #3 on: March 02, 2023, 06:39:33 am »
Windows, version 20.3 in fact all versions loading slow on startup compared to other programs like, e.g. Visual Studio

It's not from another program, it's from C::B, execute some useless jobs on startup.

Nor do I have virus checker or other.

Exactly from where did you download CodeBlocks?
Can you be more specific. What do you mean by
Quote
It's not from another program, it's from C::B, execute some useless jobs on startup.

Can you give us the exact steps so that we can re-create the problem?
Do you actually have a compiler that CodeBlocks can use?

You might want to look here
https://forums.codeblocks.org/index.php/topic,25302.msg172433.html#msg172433
and download a more recent version.
« Last Edit: March 02, 2023, 06:44:42 am by Pecan »

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can I disable compiler check on startup?
« Reply #4 on: March 02, 2023, 05:58:11 pm »
FYI: At one time the compiler detection feature wasted a lot of time for me on startup. I thought this was fixed.
Once I set a compiler path for all the compilers, it wasted less time.
Note: The path did not have to be correct except for the default compiler and any one you use.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Re: How can I disable compiler check on startup?
« Reply #5 on: March 02, 2023, 06:30:09 pm »
I set Visual C++ compiler as default, the compiler working. But C::B still delay on loading

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can I disable compiler check on startup?
« Reply #6 on: March 02, 2023, 06:35:24 pm »
I set Visual C++ compiler as default, the compiler working. But C::B still delay on loading

Did you then set all the other compiler using auto detection? This is needed if CB is complaining about not finding an compiler!

If you want help you need to post information needed to understand the problem.

If no more info is posted I know I will give up trying to help.

Tim S.


C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Re: How can I disable compiler check on startup?
« Reply #7 on: March 02, 2023, 11:08:24 pm »
I never says: "CB is complaining about not finding an compiler"

I says "C::B check the compiler on startup" this produce delay on startup. Checking the compiler at startup is useless and causes a slow load. It doesn't even make sense to check the compiler to the start because the check is done on the build command.

I hope to be clearer now.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can I disable compiler check on startup?
« Reply #8 on: March 03, 2023, 01:01:33 am »
I can not tell you any more I suggest you answer where you downloaded the version of CB you got. Or are you going to ignore the other person trying to help you.

I told what I did that helped, if you do not wish to detect the paths of every compiler I have nothing else to suggest.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Re: How can I disable compiler check on startup?
« Reply #9 on: March 03, 2023, 08:43:09 am »
I don't see how someone who doesn't read what I wrote could help me. I said "Windows, version 20.3 in fact all versions loading slow on startup compared to other programs"

It's not a single version 20.3, there are several ?

From the https://sourceforge.net/projects/codeblocks/files/Binaries/20.03/

Can you explain to me what this information helps with?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can I disable compiler check on startup?
« Reply #10 on: March 03, 2023, 02:57:27 pm »
Yep, because they are people using an flatpack version under Linux that fails to work.
And, there are versions that run under windows that are not made by the CB team.

So, have you went and selected each CB toolchain and autodetected it?

If not as I have already stated that speed it up in the past; but, when I did it gave clues to which CB toolchain was causing problems.
But, you seem to have no clues on which one is causing problems.

Also, CB used to always look for an MINGW GCC and it might be much slower if one was not installed.

Do you have an MinGW GCC installed and CB configured to find it?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline mariusm

  • Multiple posting newcomer
  • *
  • Posts: 46
Re: How can I disable compiler check on startup?
« Reply #11 on: March 03, 2023, 04:26:45 pm »
Have installed MINGW GCC, compile succesfully but not autodetect...

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can I disable compiler check on startup?
« Reply #12 on: March 03, 2023, 05:33:06 pm »
Have installed MINGW GCC, compile succesfully but not autodetect...

So, did you configure CB for the MINGW GCC you installed or not.
I can read your answer as yes or no.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org