Date: Mon, 26 Apr 1999 22:11:50 -0400 Message-Id: <199904270211.WAA26883@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <7g34f9$5eas$1@newssvr04-int.news.prodigy.com> (message from Ken Robbins on Mon, 26 Apr 1999 20:40:57 -0500) Subject: Re: Writing an OS References: <7fvlo1$o0k$1 AT newsserv DOT zdv DOT uni-tuebingen DOT de> <7g0ahp$1poi$1 AT newssvr04-int DOT news DOT prodigy DOT com> <3724CF65 DOT 74E AT cam DOT org> <7g34f9$5eas$1 AT newssvr04-int DOT news DOT prodigy DOT com> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Why would he have to make his own printf to make an OS? Because djgpp's printf calls djgpp's write, which calls dos, which won't be available if you're using a different OS. If you make your own OS you have to provide *everything* - including write(), printf(), compilers, etc. If you're lucky, you can reuse code from other projects, but not without porting them to your new OS.