On Saturday 29 December 2007 12:35:45 Andrey Panin wrote:
> On 360, 12 26, 2007 at 04:59:23PM +0000, Paul Brook wrote:
> > On Wednesday 26 December 2007, Dieter wrote:
> > > > The main limitation of GCC is that it can only generate 32-bit
> > > > code.
> > >
> > > Huh?  Gcc has been dropping a lot of essential support, but it
> > > isn't quite *that* bad.  Gcc still generates LP64 code.  There
> > > are plenty of incompetent *programmers* that can only generate
> > > (buggy) ILP32 code.
> >
> > I was talking about x86.  amd64 long mode is irelevant.  Of course
> > you can generate 64-bit code for suitable targets, but for writing
> > a BIOS that's even less use than 32-bit code.
> >
> > The point is that gcc can not generate 16-bit/real mode x86 code.
> > For that you need to use something like bcc.
>
> Wrong, read here:
> http://devpit.org/wiki/Compiler_Options_for_Creating_Odd_Binaries
>
> You can look at realmode part of Linux kernel startup code for an
> example.

A bit late perhaps, but another alternative may be OpenWatcom. It's open 
source, and seems to generate 16-bit real mode code amongst others. 
Runs on DOS and Windows, other platforms (including GNU/Linux and 
FreeBSD) experimental.

http://www.openwatcom.com

Lourens

Attachment: pgpltdW5HVTsf.pgp
Description: PGP signature

_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to