The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: wkt@tuhs.org (Warren Toomey)
Subject: [Unix-jun72] C compiler: it works!
Date: Mon, 5 May 2008 18:02:49 +1000	[thread overview]
Message-ID: <20080505080249.GB81081@minnie.tuhs.org> (raw)
In-Reply-To: <20080505075017.GA81081@minnie.tuhs.org>

On Mon, May 05, 2008 at 05:50:17PM +1000, Warren Toomey wrote:
> Um, just an observation: u0.s defines:
> 
> core = orig+40000  / specifies beginning of user's core
> ecore = core+20000 / specifies end of user's core (4096 words)
> 
> so a user program has 020000 bytes of space; but size /usr/lib/c0 gives:
> 
> 023326+03574+06640=035762, and 035762 >> 020000.
> 
> Is the value of ecore arbitrary?

Apparently it is. I just patched u0.s to have ecore = core+35764, and
the C compiler works! i.e. it compiles a trivial C program. Later on
after dinner, I'll try to get the compiler to recompile itself.

We still need to check the effects of ecore = core+35764, just in case.

Cheers,
	Warren



  reply	other threads:[~2008-05-05  8:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05  6:08 [Unix-jun72] C compiler status Warren Toomey
2008-05-05  6:59 ` Tim Newsham
2008-05-05  7:12   ` Warren Toomey
2008-05-05  7:50     ` Warren Toomey
2008-05-05  8:02       ` Warren Toomey [this message]
2008-05-05  8:38         ` [Unix-jun72] C compiler: it works! Warren Toomey
2008-05-05 16:57       ` [Unix-jun72] C compiler status Tim Newsham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080505080249.GB81081@minnie.tuhs.org \
    --to=wkt@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).