Похожие чаты

Hey If anyone here compile in C / C++ on

Windows, I would appreciate it if you could help me understand how to do it correctly:
I saw that it's a mess in Windows for some reason.
In Linux I use Gcc + Make / Cmake and that's it.
In Windows I saw that there are:
Visual Studio MSVC
MinGw, Msys2, Cygwin, Wsl...

and for automation: NMake, Cmake, Ninja
I'm trying to sort things out and understand why there are so many and with which one I can run projects on Windows.

Disadvantages I saw:
Cygwin:
The binary will look for the Cygwin DLLs only and the binary cannot be run without them

NMake
It is possible to work only from the CLI of VIsual Studio
MSVC
It's also complicated, you have to work from the CLI of VIsual Studio

Msys2 + Cmake
Looks the most promising. But I don't know about it even if there are any disadvantages. And it is not clear why it has so many compilers like MinGW, Clang, UCrt64

Why does Rust not have this complication?

12 ответов

41 просмотр

Ninja isn't just for Windows. I think building can be a kind of complex thing regardless of OS

Cygwin attempts to make Windows POSIXy. So you should ask yourself if that's something you want/need

Jacob- Автор вопроса
Chiyando
Cygwin attempts to make Windows POSIXy. So you sho...

Yes because it simplifies But the disadvantage is that then you have to include cygwin runtime DLLs, and that's a blocker

Jacob
Yes because it simplifies But the disadvantage is ...

OK but I'm curious why that is that so bad for you?

Jacob- Автор вопроса
Chiyando
OK but I'm curious why that is that so bad for you...

I don't want to be dependent on its DLLs because they are heavy

Jacob- Автор вопроса
Chiyando
OK, looks like that's ruled out then

Yes... I want simplicity in both dev ux and end user ux

Rust doesn't have the complication probably because it isn't nearly as old

Jacob- Автор вопроса
Chiyando
Rust doesn't have the complication probably becaus...

C++ needs some cross platform build automation + compiler. I Don't understand why it's not created in these 30 years where c++ exists

Jacob
C++ needs some cross platform build automation + c...

You could always lead the way, or contribute towards projects attempting to do just that. Your contribution will be most welcome.

Jacob
C++ needs some cross platform build automation + c...

CPP don't "need" it, perhaps you like to have this stuff.

Похожие вопросы

Обсуждают сегодня

а зачем этот вопрос для удаления из чата?
Mёdkinson Medvezhkin
63
using next image component with s3 image: "url" parameter is valid but upstream response is invalid code: <Image fill src={s...
Fasil
3
Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
Friends, how can I find my Wazirx wallet address?
Silm Silm
31
Всем привет! Подскажите. Я написал приложение на Delphi 10.2 Tokyo под Windows 10. И передо мной стал вопрос о том чтобы сделать это приложение кроссплатформенным (под Linux и...
Дмитрий Завгородний
24
Какого хера? /Sources/App/Modules/User/Models/UserLinkApple.swift:21:20: warning: stored property '_id' of 'Sendable'-conforming class 'UserLinkApple' is mutable @ID(...
Alexander Sherbakov
14
My 7 year old daughter recognizes the Bitcoin symbol and knows it's currency. What are the top ,3-5 most basic important concepts to convey to a kid about BCH? I started with ...
Big Hair
24
How the price of ANVL is decided? The buying pressure comes just from staking which is very slow, while the selling pressure might be huge. What are the benefits for those who...
MJ Javvaji @muralijavvaji
13
How many Cashfusion server now?
Crypto life
22
Кто знает локации, где можно машину красиво отфоткать?
Lalalashechki Lalala
23
Карта сайта