What is a command line compiler?

What is a command line compiler?

+3
source share
2 answers

Currently, you usually have an environment in which you develop code. In other words, you get an IDE (integrated development environment), which consists of an editor, a compiler, a linker, a debugger, and many other interesting tools (code analysis, refactoring, etc.).

You will never have to enter a command at all, preferring instead a sequence of keys, for example CTRL F5, which will build your entire project for you.

. , . , :

cc -I/usr/include -c -o prog.o prog.c
cc -I/usr/include -c -o obj1.o obj1.c
as -o start.o start.s
ld -o prog -L/lib:/usr/lib prog.o obj1.o start.o -lm -lnet

, ?

, make , make . , , .

, - . , Eclipse " " ( GUI), .

, Borland ( , ), Microsoft - (Microsoft Express ).

gcc . , , .

. , IDE- - /, , , , , vim make .

+8

- , .

gcc filename.c ( - ). , , , . - 5 16:27

(Bill K ... , wiki , .)

+4

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


All Articles