From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu, rsc+outbox@swtch.com Subject: Re: [9fans] Re: patch/list applied/ape-dumb-autohell-fixes From: "Russ Cox" Date: Tue, 14 Feb 2006 10:12:10 +0000 In-Reply-To: <43F1ECAE.9070902@lanl.gov> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: ff25e95e-ead0-11e9-9d60-3106f5b1d025 > actually, I think I was thinking this too. gcc would be its own world > right down to the system call level. No ?a or ?l compatibility issues; > you don't use them. Convert gcc calling conventions to plan 9 calling > conventions at the kernel interface (I had to do stuff like this for Xen > ...) > > So, if gcc is driving gas and gld, then the only issue is generating > plan 9 a.out format. libbfd can be taught to do this. David Hogan did exactly this. Sure, it uses an APE-like library, but if all you want is open/read/write/close, who cares? /n/sources/extra/gcc Russ