cl.exe 옵션 정리

|
MS C Compiler

명령어 : cl
>cl test.c
>dir
test.c
test.exe


옵션 :

/P : Preprocessing 후 .i 파일만 생성
>cl /P test.c
>dir
test.c
test.i


/Fa : Compiling 후 .asm 파일, .obj 파일, .exe 파일 생성
>cl /Fa test.c
>dir
test.asm
test.c
test.exe
test.obj


/c : Assembling 후 .obj 파일만 생성
>cl /c test.c
>dir
test.c
test.obj

'C' 카테고리의 다른 글

sizeof 연산자를 이용한 Data Type 크기 확인  (0) 2010.06.06
Data type 사이의 대입 및 출력 형식  (0) 2010.06.05
GCC 옵션 정리  (0) 2010.06.05
변환문자  (0) 2010.06.05
printf() 함수 내부  (0) 2010.06.04
And