From: "Tobias Skytte" Newsgroups: comp.os.msdos.djgpp Subject: How do I customize libc for custom OS? Date: Mon, 21 Aug 2000 11:38:45 +0200 Lines: 28 Message-ID: <8nqvcn$9a10a$1@ID-33463.news.cis.dfn.de> NNTP-Posting-Host: 195.8.4.66 X-Trace: fu-berlin.de 966852827 9765898 195.8.4.66 (16 [33463]) X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello All! I'm new to this group, so firstly: Greetings everybody! I have just downloaded DJGPP, read the FAQ and some of the docs, I am new to C but experienced in Pascal (is that a bad word in this group? :-) ) Basically I am writing a custom OS for i386+ in pmode, and I currently can't decide wether to use DJGPP or FreePascal (FPK). Now, one of the deciding factors is going to be: how easy is it to customise the compiler (libc in DJGPP, RTL in FPK) to work with a currently non-existing os (mine).? If someone could point me in the right direction for finding out exactly what needs to be changed in libc I would be greatful. Looking over the source for libc I was a bit taken back, for I see thousands of files... yikes! and which ones to change? Also: If someone could show me the compiler switches to compile a MZ EXE (my kernel will be in this format) without having the stub program, that would be great. Or how to make a straight binary (i.e. non-relicateable) which is another option for my kernel to be in. Are there any tutorials on this kind of stuff? (i.e. how to use djgpp for making custom OS) Thanks in advance! regards, Tobias Skytte