Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- SSL 인증서가 변경되었습니다
- audio station버그
- Linux
- windows terminal
- IntelliJ
- quickconnect
- 이클립스 주석
- git
- Wraith Spire
- cloud station
- 시놀로지 색인
- setonkeylistener
- JSON
- urllib3
- MFC
- formatting failed
- c++
- clp 325wk
- 장치 데이터 오류
- ds cloud
- 라즈베리파이
- linearlaout
- SetWindowTextW
- java.net.bindexception
- truncated
- synology
- github
- 주석 숨김
- Eclipse
- cloudstation
Archives
- Today
- Total
목록Terminal (1)
딸기스무디
gcc) c파일작성 및 컴파일 명령어
cd /home/user /home/user로 terminal의 경로 설정 gedit test.c 현재 경로에 test.c 파일 생성후 실행 touch test.c 현재 경로에 test.c파일 생성(gedit과 비슷함) apt-get install gcc 만약 gcc가 설치되어있지 않다면 gcc설치 gcc test.c -o a 현재 경로에서 test.c라는 파일을 컴파일하며 a라는 이름으로 출력파일 생성 gcc test.c -o a -lpthread 만약 pthread를 사용한다면 마지막에 -lpthread를 추가해야 정상적으로 컴파일 가능 ./a a라는 출력파일을 실행
gcc
2019. 5. 17. 10:00