gcc question

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
p0s1x
Posts: 18
Joined: Thu Mar 21, 2013 8:37 am

gcc question

Post by p0s1x »

if I compile gcc cross-compiler, I can use standrart C library, or I need to rewrite/port one? Sorry for noob question.
User avatar
Combuster
Member
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

Post by Combuster »

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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply