Skip to content

Windows vs Linux compiler performance #2228

Answered by earlephilhower
dennisma asked this question in Q&A
Discussion options

You must be logged in to vote

Could it be antivirus related? GCC will touch 100s of files per compilation and if MS Defender/Avast/etc. is scanning through them it will burn CPU like mad. Is there a way to disable antivirus (just for testing!) and compare times? If that gives back a good chunk, then maybe there are special directory or file type exclusions you can set?

It could just be a function of the MinGW runtime, which is used to allow GCC to be built as a native app. In that case, I think you're kind of out of luck.

Really bodge-tastic, but it is also possible to run VNC server under WSL and start up the Linux Arduino. Use VNCViewer to actually display and interact with it. I believe the whole NTFS filesystem is…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dennisma
Comment options

Answer selected by dennisma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants