Yup. This comes from the heritage of the plan 9 compilers.

The plan 9 c compilers were 6c for amd64, 8g for 386, 5g for arm, and so 
on. 

Because the go compiler can compile for all those targets it was called gc. 

People call it gc (lower case) and use GC (upper case) for "garbage 
collector"

On Wednesday, 13 December 2017 10:33:17 UTC+11, erfang...@gmail.com wrote:
>
> Wooow.
>
> Question : Name of main go compiler is GC?
>
>
> On Wednesday, December 13, 2017 at 2:59:46 AM UTC+3:30, Dave Cheney wrote:
>>
>> Do this
>>
>> cd $HOME
>> curl 
>> https://storage.googleapis.com/golang/go1.4-bootstrap-20170531.tar.gz | 
>> tar xz
>> mv go go1.4
>> cd go1.4/src
>> env CGO_ENABLED=0 ./make.bash
>> cd $HOME
>> git clone https://go.googlesource.com/go 
>> cd go/src
>> git checkout go1.9.2
>> env GOROOT_BOOTSTRAP=$HOME/go1.4 ./make.bash
>> echo '$PATH=$PATH:$HOME/go/bin" >> ~/.profile
>> source ~/.profile
>>
>>
>> On Wednesday, 13 December 2017 10:22:14 UTC+11, erfang...@gmail.com 
>> wrote:
>>>
>>> im want test main go compiler.
>>>
>>> so should try 
>>> https://storage.googleapis.com/golang/go1.4-bootstrap-20170531.tar.gz ?
>>> and tutorial at https://golang.org/doc/install/source#go14
>>>
>>>
>>> name of main go compiler is GC?
>>>
>>>
>>> On Wednesday, December 13, 2017 at 2:45:34 AM UTC+3:30, Dave Cheney 
>>> wrote:
>>>>
>>>> Hello,
>>>>
>>>> Thanks for posting. To answer your question
>>>>
>>>> 1. The Go compiler used to be written in C, but was rewritten in Go in 
>>>> release 1.5
>>>>
>>>> 2. This means that to build a version of Go later than 1.4, you need a 
>>>> Go compiler.
>>>>
>>>> 3. The easiest way to do this is to us a version of Go from the 
>>>> golang.org website, the instructions are here 
>>>> https://golang.org/doc/install/source#go14
>>>>
>>>> 4. If you are new to Go I strongly do not recommend building from 
>>>> source, you should just use one of the pre compiled versions available on 
>>>> the website, they are extremely well tested and known to work on many 
>>>> systems. https://golang.org/doc/install
>>>>
>>>> 5. If you are trying to bootstrap Go on a system that we don't ship pre 
>>>> compiled binaries for you will have to produce a bootstrap cross compiler, 
>>>> so you will need to do step 3 then follow the instructions from the step 
>>>> "building go 1.5 from source" on this post, 
>>>> https://dave.cheney.net/2015/10/16/bootstrapping-go-1-5-on-non-intel-platforms
>>>>
>>>> real talk, this is quite a complicate process and if english is not 
>>>> your native language you may be better served by finding a Go forum in 
>>>> your 
>>>> native language. I don't have any to recommend off hand, but maybe on the 
>>>> gophers slack you might be able to find someone to help you. Because slack 
>>>> is invite only you can request an invite using this automated application, 
>>>> https://invite.slack.golangbridge.org/
>>>>
>>>>
>>>>
>>>>
>>>> On Wednesday, 13 December 2017 10:00:41 UTC+11, C Banning wrote:
>>>>>
>>>>> Well, there are binary releases for the most HW/OS combinations - 
>>>>> https://golang.org/dl/
>>>>>
>>>>> On Tuesday, December 12, 2017 at 3:51:43 PM UTC-7, erfang...@gmail.com 
>>>>> wrote:
>>>>>>
>>>>>> so GOLANG will not work, if not install C-Compiler on system.
>>>>>>
>>>>>> yeah?
>>>>>>
>>>>>> On Wednesday, December 13, 2017 at 2:16:23 AM UTC+3:30, C Banning 
>>>>>> wrote:
>>>>>>>
>>>>>>> Well, GO_BOOTSTRAP lets you use any compiler after go1.4.  I usually 
>>>>>>> build/install Go using the previous Go-built version - thus, I 
>>>>>>> built/installed Go1.9 using the Go1.8.1 compiler.
>>>>>>>
>>>>>>> On Tuesday, December 12, 2017 at 2:48:57 PM UTC-7, 
>>>>>>> erfang...@gmail.com wrote:
>>>>>>>>
>>>>>>>> so Main compiler is at previous version and made with C? 
>>>>>>>>
>>>>>>>> On Wednesday, December 13, 2017 at 1:09:13 AM UTC+3:30, Tamás 
>>>>>>>> Gulácsi wrote:
>>>>>>>>>
>>>>>>>>> Yes. It compiles itself with a previous verson of the compiler 
>>>>>>>>> first.
>>>>>>>>
>>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to