From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8cbc6639bbd6ec60c61d5d910e51ed9f@proxima.alt.za> To: lucio@proxima.alt.za, 9fans@9fans.net From: Lucio De Re Date: Tue, 2 Aug 2011 22:29:47 +0200 In-Reply-To: <0e076904a1cb061fcc935e50cb11d62e@proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Status of port of Go to Plan 9 Topicbox-Message-UUID: 0b6f5c6c-ead7-11e9-9d60-3106f5b1d025 >> what's a good recipe for making goose? :) > > I omitted > > (src) > (...) > lib9 > goos.c > > from /go/devproto. Please add goos.c and its containing directory. > There are one or two gotchas. I have tidied up, but they may be lurking on your system from earlier instances: 1. src/cmd/gc/mkopnames.rc must have execute permissions, make sure it does. 2. src/cmd/gc/opnames.h may have been built with zero size if mkopnames.rc did not have execute permissions. Delete it if that is the case, it will be rebuilt. 3. src/cmd/gc/y.tab.[ch] may be wrong: the correct versions are much bigger than a few hundred bytes, get fresh copies if you have the smaller ones. These problems have tripped me, not only Skip. There is a remaining known problem. The yacc targets, src/cmd/gc/y.tab.[ch], have to be built using GNU Bison, at least until I get the nerve to add the error file to yacc or to use fgb's infrastructure to build GNU Bison on Plan 9. I recommed that you generate recent versions of these files on a Go target and copy them to a safe spot from where you can retrieve them as needed. The "mkone" clean target deletes them and changing that will create its own brand of problems. I'm waiting for the next set of problems I don't yet know about :-) ++L