LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-09-2024, 10:40 AM   #1
Mac1ek
LQ Newbie
 
Registered: Jan 2024
Distribution: Debian Linux / Red Hat Enterprise
Posts: 16

Rep: Reputation: 0
Windows + cmake + mingw vs Debian 12 + cmake + g++-12 - recompilation time or run debug ...


Hello. When i compile real project on Windows using Visual Code, cmake, qt 6 and mingw and try run debug, it is realy realy slowed then in Debian 12 its realy quick compile, quick response and quick run debug, not like just 0.1 second , it is visible and response slowed (also visible). It is problem with Mingw or other ?

Thanks for answer.
 
Old 02-09-2024, 11:30 AM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,865
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
The main things that slow you down are: c++, Qt, Windows
 
Old 02-11-2024, 03:41 PM   #3
Mac1ek
LQ Newbie
 
Registered: Jan 2024
Distribution: Debian Linux / Red Hat Enterprise
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by NevemTeve View Post
The main things that slow you down are: c++, Qt, Windows
Hm, i dont know, maybe mingw is not "optimal" for windows. I'm not check in Visual Studio but probably general compile and runs debug faster then mingw.
 
Old 02-12-2024, 10:52 AM   #4
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
This post and its links explain why fork () is slow on Windows. You may be better off using Visual Studio.
Ed
 
  


Reply

Tags
c++, c++ programming



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem with newer cmake options run on slackware cmake 3.5.2 timsoft Slackware 6 05-31-2020 07:51 AM
Hi all, i am new to cmake in linux so i am trying to design a c++ project that connects to mariadb using cmake, but i run into an error. Naptar Linux - Newbie 0 01-19-2019 11:46 AM
CMake Strange "Install" behaviour with home-grown software [Linux x86_64, CMake 2.8] ajschaeffer Programming 0 10-24-2011 03:21 AM
MinGW/Msys: how to run PWD from Windows command line? Dims Other *NIX 0 06-29-2011 08:41 AM
cmake: Using find_package(Boost) when FindBoost.cmake is not in the default location damien_d Programming 3 10-27-2010 03:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration