M
M
Moolzv Rivers2019-08-20 11:40:01
linux
Moolzv Rivers, 2019-08-20 11:40:01

How to write Linux programs for Windows to test later?

Hello.
For example, I want to write a C program for Windows, but I don’t have it on my virtual machine.
More:
Installed Windows7 but at startup it wrote that there was no file for running programs in C ++. Compiled on Linux using mingw. If possible, tell me if there will be such an error in C if I compile on mingw for Windows? So, I also have a weak laptop and therefore Windows10 does not want to be installed on the virtual machine. The main question is how do I write Linux programs for Windows so that I can test them?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Radjah, 2019-08-20
@Radjah

> what would be
https://chtoby-pravilno.ru/chtoby/
> there is no file for launching
Psychics on vacation. Wang "Visual C ++ Redistributable Runtime", but I can't guess the version without the file name.

S
Skyrimus, 2019-08-21
@Skyrimus

You take the source code, you take MVSC, you edit a bunch of dependencies (if any), or how you take mingw and build it with regular gcc

A
Adamos, 2019-08-20
@Adamos

So, I also have a weak laptop and therefore do not want to install Windows 10 on a virtual machine

In fact, before Windows 10 there was, for example, Windows XP, which will still be installed on any somewhat modern hardware.
We pull on it QtCreator a little older than the last one ... well, collect on health. Just like in Lin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question