From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) From: Jeff Sickel In-Reply-To: Date: Tue, 3 Dec 2013 09:54:59 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3d7dd75252b1dbc0f6eb69525dc69673@proxima.alt.za> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Go and 21-bit runes (and a bit of Go status) Topicbox-Message-UUID: 91739976-ead8-11e9-9d60-3106f5b1d025 Because then you=92ve got to use additional ifdefs per patch https://codereview.appspot.com/14604047/. Sorry Anthony, I died a little seeing #if !defined(_WIN32) && !defined(PLAN9) The cmd/dist/build.c changes are fine as I=92m messing around with similar edge cases. And of course getting [569]c to use the ANSI C preprocessor in order to consume the $GOROOT/include/bio.h is necessary. In any case, both patches 14604047 and 15750047 fix the Go libbio addition problem when building on Plan 9. Neither have made any progress in getting rolled up into the Go sources. I=92m proposing modifying my patch, 15750047, to extract the four funcs from bgetc.c and bputc.c and put them into a blec.c so that cmd/dist will build just blec.c on Plan 9 and install it into $GOROOT/pkg/obj/plan9_$objtype/blec.$O for linking. On Dec 3, 2013, at 8:51 AM, Charles Forsyth = wrote: > why can't it just use the one it expects? > why does it have to be the same as the one in /sys/src? >=20 >=20 > On 3 December 2013 14:42, erik quanstrom = wrote: > > Does Go, the tool chain itself, need libbio? If not, then it is = there >=20 > yes. >=20 > - erik >=20 >=20