0

What does follow code mean?

g++ -c file1.cpp file2.cpp file3.cpp

25th Jun 2018, 10:09 AM
Lucky
Lucky - avatar
3 ответов
+ 2
Шыңғыс Q: What does follow code mean? g++ -c file1.cpp file2.cpp file3.cpp That line refers to compilation process using command line on a Unix based system. Let's break it down g++ is the target comiler by which you are going to compile three files which are parts of the same project (in the same directory). -c is a compiler flag (command line option) which compiles all three source files into three object files as file1.o, file2.o, and file3.o. Then you would link them by g++ file1.o file2.o file3.o and run it by ./a.out
25th Jun 2018, 10:56 AM
To Seek Glory in Battle is Glorious
To Seek Glory in Battle is Glorious - avatar
0
do you mean. what does the following code means?
25th Jun 2018, 10:26 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
yeah, it's T9
25th Jun 2018, 10:27 AM
Lucky
Lucky - avatar