Sorry, Skip was right.. It looks like make install in src/pkg will
also build and overwrite some of the cmd tools already in your GOBIN
with Plan 9 a.out. This is probably not what you were looking for.
The new build incantation is:

cd $GOROOT/src/pkg
make clean
mkdir -p $GROOT/bin/plan9
GOOS=plan9 GOBIN=$GOROOT/bin/plan9 make -k install

Pavel

On Sat, Apr 9, 2011 at 10:04 PM, Skip Tavakkolian
<skip.tavakkol...@gmail.com> wrote:
> Great info! thanks.
> -Skip
>
> On Sat, Apr 9, 2011 at 11:53 AM, Pavel Zholkover <paulz...@gmail.com> wrote:
>> The mainline go will not compile syscall after the last post-weekly tag due
>> to the mmap support.
>> Russ wrote he'll look into it next week.
>>
>> I try to maintain the bitbucket patch que with CLs still being reviewed
>> (Anthony's time changes for example) so people can test them as a whole.
>>
>> There is no need for two different GOBINs, the same 8g/8l you built for eg.
>> Linux are able to produce Linux ELFs and Plan 9 a.out simply by changing to
>> GOOS environment variable.
>>
>> Pavel
>>
>> On Apr 9, 2011 9:26 PM, "Skip Tavakkolian" <skip.tavakkol...@gmail.com>
>> wrote:
>>
>

Reply via email to