gcc question
gcc question
if I compile gcc cross-compiler, I can use standrart C library, or I need to rewrite/port one? Sorry for noob question.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: gcc question
The cross-compiler runs on your development machine and uses it's C library. Your own OS does not have a C library by default, but it also does not need to run the compiler yet. You can write/port a C library to make the next step of development for your own OS easier.