How can I compile code directly that was originally written in :: blocks code

I need to compile the code that someone gave me, which they wrote in code :: blocks. I know that code :: blocks uses gcc, but what is the specific format for the commands (s) that it uses to do this? Due to various circumstances, I cannot use code :: blocks for this, and I am too rusty when compiling C / C ++ to understand this from the code.

+3
source share
3 answers

check this - cbp2make - makefile file creation tool

didn't use it, just suggested that it must exist

+2
source

, , , , , .

+1

The easiest way is to insert a small stub with a name gccthat records all its arguments, and then goes into the real GCC. This is pretty easy with a shell script.

+1
source

Source: https://habr.com/ru/post/1790410/


All Articles