9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: lucio@proxima.alt.za, 9fans@9fans.net
Subject: Re: [9fans] Status of port of Go to Plan 9
Date: Tue,  2 Aug 2011 22:29:47 +0200	[thread overview]
Message-ID: <8cbc6639bbd6ec60c61d5d910e51ed9f@proxima.alt.za> (raw)
In-Reply-To: <0e076904a1cb061fcc935e50cb11d62e@proxima.alt.za>

>> 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




      reply	other threads:[~2011-08-02 20:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01  9:04 Lucio De Re
2011-08-01 18:05 ` Skip Tavakkolian
2011-08-01 19:56   ` Lucio De Re
2011-08-01 19:59     ` Lucio De Re
2011-08-02  4:13   ` Lucio De Re
2011-08-02 12:43     ` kokamoto
2011-08-02 13:39       ` Lucio De Re
2011-08-03 13:14         ` kokamoto
2011-08-03 15:55           ` Lucio De Re
2011-08-02 16:37   ` Lucio De Re
2011-08-02 20:29     ` Lucio De Re [this message]

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=8cbc6639bbd6ec60c61d5d910e51ed9f@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@9fans.net \
    /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).