From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5ca5042ddbc027fc1e2d2a728e91b385@caldo.demon.co.uk> To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Yet another VGA issue (CT65550) From: Charles Forsyth In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 6 May 2003 08:47:00 +0100 Topicbox-Message-UUID: 9f2063c2-eacb-11e9-9e20-41e7f4b1d025 >>doing cross-compiles x86 -> PPC, I assume you don't need the --host and >>--target like with the gcc tools... no, as you suggested, that part's trivial with plan 9: a cross-compiler suite is simply a compiler suite compiled for some other architecture than its target. thus, compile qa, qc, ql on x86 (or anything else), run them, and they generate code for powerpc. for commands and libraries, use objtype=power mk install in /sys/src and it will make and install /power versions of everything (except to the extent that it runs into dented mkfiles or source files).