gcc의 -O2 -g 옵션은 무슨뜻입니까?
OBJS = src1.o src2.o src3.o
CFLAGS = -O2 -g
test : $(OBJS)
gcc $(CFLAGS) -o test $(OBJS)
src1.o : headerfile.h src1.c
gcc -c src1.c
.........
Options starting with -g, -f, -m, -O or -W are automatically passed on to
the various sub-processes invoked by gcc. In order to pass other options
on to these processes the -W<letter> options must be used.
|