일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- docker
- 자바
- 리눅스
- Kubernetes
- Linux
- 알고리즘
- 정처기
- git
- github
- DevOps
- programmers
- 깃
- Ai
- 데이터베이스
- Lv 2
- 코테
- mysql
- 파이썬
- LV 0
- 우분투
- 쿠버네티스
- ubuntu
- 인공지능
- db
- Java
- 머신러닝
- Python
- 자료구조
- 프로그래머스
- 코딩테스트
Archives
- Today
- Total
목록GCC (1)
Myo-Kyeong Tech Blog

C언어 컴파일 과정은 크게 전처리(Preprocessing), 컴파일(Compilation), 어셈블(Assembly), 링크(Link) 4단계로 나눌 수 있습니다. [ helloworld.c 파일 생성 ] nano helloworld.c #include int main() { printf("Hello, World!\n"); return 0; } 전처리 ( Preprocessing ) #define, #include 와 같은 전처리 지시어를 처리 #include : 컴파일러에게 stdio.h라는 헤더 파일의 내용을 현재 위치에 삽입하도록 지시 'helloworld.i' 파일 생성 gcc -E helloworld.c -o helloworld.i 컴파일 ( Compilation ) 전처리된 소스 코드를 받아..
리눅스
2023. 5. 23. 20:47