html5-img
1 / 7

Compile 5 단계 이규남

Compile 5 단계 이규남. 1 단 계. . c 로 저장 c 처음소스코드를 작성하고 확장자가 c 로 저장하게 됩니다 . 이곳엔 전처리문법과 c 문법을 포함하고 있습니다 . 2 단 계. Pre- precess ( 전처리 )  #include 나 #define 등을 먼저처리 i 전처리후 생기는 파일 , 확장자는 i 입니다 . 이곳엔 순수 C 만을 포함하고 있습니다 . ( 보통의 컴파일로는 생기지않습니다 .). 3 단 계.

audi
Download Presentation

Compile 5 단계 이규남

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Compile 5단계 이규남

  2. 1 단 계 • .c로 저장 • c • 처음소스코드를 작성하고 확장자가 c 로 저장하게됩니다. • 이곳엔 전처리문법과c문법을 포함하고 있습니다.

  3. 2 단 계 • Pre-precess(전처리)  #include나 #define 등을 먼저처리 • i • 전처리후생기는 파일, 확장자는i입니다. • 이곳엔 순수 C만을 포함하고있습니다. • (보통의 컴파일로는 생기지않습니다.)

  4. 3 단 계 • Compile(컴파일), 어셈블리에서 하는 단계를 미시적 컴파일이라고 함 • asm(s) • 어셈블리후 생기는 파일, 어셈블리파일이라 지칭합니다. • 윈도우 확장자는.asm • 리눅스확장자는.s • (보통의 컴파일로는 생기지 않습니다.)

  5. 4 단 계 • Assembly(어셈블리어를 기계어로 변환) • obj(o) • 미시적 컴파일후 생기는 파일, 오브젝트 파일이라고 지칭합니다. • 기계어가 포함되어있습니다. • 윈도우 확장자는.obj • 리눅스확장자는.o

  6. 5 단 계 • link(링커) 라이브러리,함수등을 연결시켜 실행가능한 프로그램을 생성하는 단계 • exe(없음) • 프로그램을 실행할수있는 실행프로그램이 생성됩니다. • 윈도우 확장자는.exe • 리눅스확장자는없습니다.

  7. 감사합니다.

More Related