From: Sean Proctor Newsgroups: comp.os.msdos.djgpp Subject: Re: Creating standalone binaries Message-ID: References: X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 Date: Sat, 24 Jun 2000 18:43:11 GMT NNTP-Posting-Host: 207.16.154.84 X-Complaints-To: Abuse Role , We Care X-Trace: monger.newsread.com 961872191 207.16.154.84 (Sat, 24 Jun 2000 14:43:11 EDT) NNTP-Posting-Date: Sat, 24 Jun 2000 14:43:11 EDT Organization: ENTER.net (enter.net) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 23 Jun 2000 22:42:15 -0700, Ben Chong wrote: >Hi folks, > >I'm new to DJGPP and could not find an answer to my query in the FAQs. > >I am interested in using DJGPP to create standalone x86 binaries. For >example, binaries that can be put into an EPROM and run independantly >of any OS. Can this be done with DJGPP? > >This of course means no need for any DPMI stuff or even BIOS API stuff >since the EPROM might be used in an embedded x86 system. > >If this can be done, can you provide pointers to how I can do it? > >Thanks! > >Ben I'm not really an expert on this... but I don't think you can make C/C++ binaries independent of an OS as a lot of the calls are OS dependent... I'd try nasm if you want OS independent binaries... as that's a free assembler, but whether that will serve your purpose I don't know. Sean