This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 16-bit real-mode code
- From: DJ Delorie <dj at redhat dot com>
- To: sam124 at operamail dot com
- Cc: sijoange at cip dot informatik dot uni-erlangen dot de, gcc at gcc dot gnu dot org
- Date: Wed, 23 Feb 2005 19:58:01 -0500
- Subject: Re: 16-bit real-mode code
- References: <20050224005309.9167523CFB@ws5-3.us4.outblaze.com>
> Complex. RM places a 64K stack segment limit. As far as I
> know, GCC requires more than that. Also, GCC was only
> written for 32-bit machines. My suggestions:
You're confusing hosts with targets. GCC *runs on* 32 bit (or more)
hosts, but it can *target* smaller machines. We've got lots of
targets that are smaller than 64k, like embedded controllers and such.
The OP wants to write a *backend*. That doesn't mean gcc will ever
run on that machine.