-
[OS] 11. Kernel Cross CompilerOS/OS from Scratch 2021. 6. 23. 13:39
서론
이번 강의에서는 Kernel 개발 환경을 세팅하겠습니다. 해당 Github 강의는 다음과 같습니다.
https://github.com/cfenollosa/os-tutorial/tree/master/11-kernel-crosscompiler
cfenollosa/os-tutorial
How to create an OS from scratch. Contribute to cfenollosa/os-tutorial development by creating an account on GitHub.
github.com
이론
Cross Compiler
Cross Compiler는 한 플랫폼에서 다른 플랫폼의 실행 파일을 만들어주는 컴파일러 입니다. 예를 들어 Linux환경에서 Embedded환경의 실행 파일을 만들 때 Cross Compiler를 이용해 실행 파일을 만들어줍니다.
코드
설치해야 할 환경은 다음과 같습니다.
- gmp
- mpfr
- libmpc
- gcc
Linux를 사용할 경우 위 환경의 대부분이 기본으로 탑재되어 있으므로 Virtual Machine에서 Linux를 사용하는 것을 추천드립니다.
'OS > OS from Scratch' 카테고리의 다른 글
[OS] 13. Kernel Barebones (0) 2021.06.27 [OS] 12. Kernel C (0) 2021.06.26 [OS] 10. 32 bit Enter (0) 2021.06.23 [OS] 09. GDT (0) 2021.06.22 [OS] 08. 32 Bit Print (0) 2021.06.21