From: Groman Newsgroups: comp.os.msdos.djgpp Subject: Re: OS/BIOS dependencies in libc Date: Sun, 15 Aug 1999 11:32:24 -0700 Organization: Posted via RemarQ, http://www.remarQ.com - The Internet's Discussion Network Lines: 33 Message-ID: <37B707B7.7316653F@tfz.net> References: <7p5j2b$akj AT newsops DOT execpc DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: 934741916 WQ39EUJ1V392DB781 usenet41.supernews.com X-Complaints-To: newsabuse AT remarQ DOT com X-Mailer: Mozilla 4.04 [en] (WinNT; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am sorry, I can't answer your question as asked, because I went around that problem... But, I can tell you, what I did: I compiled my programs with -c flag, linked with jloc(john fine's, search altavista for +title:"john fine") and get it. and used nasm(netwide assembler, search altavista for that also) to imitate the parts of libc I need, because even the startup code is OS/BIOS dependendant.(at least I think so) Chris Giese wrote: > I would like to find all DOS and BIOS dependencies in the libc. This > is of interest to people writing their own OS or using GCC for > embedded systems (no OS, maybe no BIOS). > > Is there a list of such functions already available? Failing that, > what should I look for in the libc source? Maybe look for all > occurences of "__dpmi_int"? Anything else? > > Thanks > > -- > geezer@ | Sales rushes in where > execpc.com | Engineering fears to tread > pmode tutorial: http://www.execpc.com/~geezer/os