실행파일을 생성할 때 부수적으로 호출하는 GNU linker (ld)가 사용하는
옵션들이군요. man ld 로 확인해 보시길...
>>손님 님께서 쓰시길<<
:: 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.
::
|