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.

-- 
Andrey Panin            | Linux and UNIX system administrator
[EMAIL PROTECTED]               | PGP key: wwwkeys.pgp.net

Attachment: signature.asc
Description: Digital 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