1
1
14cky2018-12-18 20:04:51
C++ / C#
14cky, 2018-12-18 20:04:51

In which program to compile .c files for the console?

You need to write a program for the console under Linux, but write on Windows. Here is the question. Prompt the program which will be able to compile a file under the given conditions. Another small nuance, the program has functions in a separate file and the program must be launched in the console through arguments ( ./programm test 7, etc.)
PS Yes, I know that the question is extremely clumsy, but I think the essence is more or less clear.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ananiev, 2018-12-18
@14cky

Option 1: www.mingw.org/wiki/HostedCrossCompilerHOWTO
Option 2: For Windows 10, install a Linux console and compile on it ( https://docs.microsoft.com/en-us/windows/wsl/insta... )
Option 3: VirtualBox virtual machine with Linux installed

S
Saboteur, 2018-12-19
@saboteur_kiev

standard gcc can google cross-compilation.
GCC can do it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question