man 페이지에서.
level 값이 2인것의 의미가 무엇인지
궁금합니다.
-g는 디버깅 정보링크 더군요.
-Olevel
Generate optimized output files. This might use
significantly more time and therefore probably
should be enabled only for generating the final bi
>>곤 님께서 쓰시길<<
:: 실행파일을 생성할 때 부수적으로 호출하는 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.
:: ::
|