코딩Coding/make★gcc★&g++★clang★compiler
-
C언어에서 gcc -Wall -save-temps main.c 하면 나오는 파일들main.o / main.i / main.s코딩Coding/make★gcc★&g++★clang★compiler 2022. 1. 27. 10:54
10분59초에 나옴 gcc -Wall -save-temps main.c -o harry 하면 파일이 main.o main.i main.s 파일들에 대해서 https://youtu.be/5SIBB589fAg 다른 출처 stackoverflow https://stackoverflow.com/questions/25137743/where-do-we-use-i-files-and-how-do-we-generate-them Where do we use .i files and how do we generate them? I was going through the GCC man page, I found the following line: file.i C source code that should not be prepro..
-
Installing the GCC(C++ Compiler in macOS)& ❤️Apple M1 프로세서가 탑재된 최신 MacBook의 경우(경로코딩Coding/make★gcc★&g++★clang★compiler 2021. 12. 20. 00:54
저는 M1맥프로 에서 XCode를 앱스토어 받았습니다. 거기에 C++,GCC컴파일러 다 있습니다. XCode 12G기가라 설치 엄청나게 오래 걸립니다. 너무 오래 걸려서 컴퓨터 멈춘줄 알았습니다ㅋㅋㅋㅋ. cpp파일 컴파일 후 실행하기 g++ test.cpp ls 컴파일이 잘 되었는지 확인!! 파일명 "a.out" ./a.out 실행됨. g++ -o hello cpp01.cpp 컴파일 완료 되고, hello라는 파일 만들면서 실행 가능 ./hello 하면 실행 됨 clang clang이 오류가 더 자세히 나오는 것 같음 ㅎㅎ clang -o hello hello.c 컴파일 완료 되고, hello라는 파일 만들면서 실행 가능 ./hello 하면 실행 됨 clang과 gcc차이점 설명 & aaple이 GCC ..
-
C++]gcc로 컴파일 하는 방법(./ a.out 검색하다가 알게 됨)코딩Coding/make★gcc★&g++★clang★compiler 2021. 11. 29. 12:52
https://seamless.tistory.com/m/2 gcc로 컴파일 하는 방법 1. gcc 동작 과정 gcc 원래는 GNU C Compiler를 의미 했지만 1999년부터 GNU Compiler Collection을 의미한다. gcc가 실행시키는 프로그램 cpp 전처리기 cc1 컴파일러 as 어셈블러 ld 링커 1) 전처리 단계 소스 파.. seamless.tistory.com 내가 공부하려고 따로 정리함 https://github.com/YoungHaKim7/Shell_Script GitHub - YoungHaKim7/Shell_Script: My Youtube Channel - GlobalYoung https://www.youtube.com/@GlobalYoung7 My Youtube Chan..