From: wkt@tuhs.org (Warren Toomey)
Subject: [Unix-jun72] No luck with C compiler yet, but an idea
Date: Mon, 5 May 2008 11:23:56 +1000 [thread overview]
Message-ID: <20080505012356.GB67094@minnie.tuhs.org> (raw)
In-Reply-To: <Pine.BSI.4.64.0805031940510.20114@malasada.lava.net>
On Sun, May 04, 2008 at 10:18:08AM -1000, Tim Newsham wrote:
> I added a patch "aout407.patch" for running a.out binaries in the 1ed
> kernel. It could be a little cleaner; if anyone can review it and fix
> it up I would appreciate it. I was able to run "as" and "size",
> both of which are 0407 binaries.
I played around trying to get the last11c C compiler to work, but no luck
yet. I can compile it using Apout and the existing cc, c0, c1, as binaries.
Tim, I suspect that we need to modify the 0407 patch to also clear the
bss area in core. Here are the headers from several binaries
Size of: text data bss
/usr/lib/c0 000407 023324 003574 005700 017614 000000 000000 000001
/usr/lib/c1 000407 016664 011554 003030 010624 000000 000000 000001
/usr/bin/cc 000407 004576 000416 001024 003644 000000 000000 000001
/usr/bin/as 000407 016616 000000 000000 000000 000000 000000 000001
/usr/bin/size 000407 002626 000000 000000 000000 000000 000000 000001
You can see that c0, c1 and cc all have bss areas, but as and size have no
bss areas, which is probably why they work OK.
Cheers,
Warren
next prev parent reply other threads:[~2008-05-05 1:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-04 5:19 [Unix-jun72] init Tim Newsham
2008-05-04 5:31 ` Tim Newsham
2008-05-04 6:29 ` [TUHS] comparing s1 frags, s2 bits, 1ed and jun72 print out Tim Newsham
2008-05-04 20:18 ` [Unix-jun72] 0407 binaries on 1ed Tim Newsham
2008-05-04 22:33 ` Warren Toomey
2008-05-05 0:00 ` Tim Newsham
2008-05-05 1:17 ` [Unix-jun72] Another RK mount program Warren Toomey
2008-05-05 1:23 ` Warren Toomey [this message]
2008-05-05 1:56 ` [Unix-jun72] No luck with C compiler yet, but an idea Tim Newsham
2008-05-05 23:01 ` [Unix-jun72] uppercase input Warren Toomey
2008-05-04 6:50 ` [Unix-jun72] init Warren Toomey
2008-05-04 8:41 ` [Unix-jun72] Yes, a mount command Warren Toomey
2008-05-04 12:54 ` [Unix-jun72] init Brad Parker
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=20080505012356.GB67094@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).