Hi Matthias, Matthias Klose <d...@debian.org> writes: > Calling gc the "official" compiler seems to be misleading. gccgo in That’s why I called it “official”, not official.
> wheezy supports the Go API 1.0, and the standard library 1.0.3, > supports dynamic linking, supports multiarch, makes the distinction > for armel/armhf, and supports cross-compilation. I don't mind having > a second compiler in the archives like clang, but please make sure > that you are not bound to one. How does your packaging proposal work > with gccgo as the compiler? Did you consider making gc an alternative > (like cc, c++)? I am trying to evaluate how this would work. Here is what I tried: mkdir -p /tmp/golang export GOPATH=/tmp/golang go get github.com/mstap/godebiancontrol go install -v -compiler=gccgo github.com/mstap/godebiancontrol ls -hlR /tmp/golang/pkg/ This results in the following file structure: /tmp/golang/pkg/: total 0 drwxr-xr-x 3 michael staff 60 2013-01-02 15:59 gccgo drwxr-xr-x 3 michael staff 60 2013-01-02 15:59 linux_amd64 /tmp/golang/pkg/gccgo: total 0 drwxr-xr-x 3 michael staff 60 2013-01-02 15:59 github.com /tmp/golang/pkg/gccgo/github.com: total 0 drwxr-xr-x 2 michael staff 60 2013-01-02 15:59 mstap /tmp/golang/pkg/gccgo/github.com/mstap: total 24K -rw-r--r-- 1 michael staff 23K 2013-01-02 15:59 libgodebiancontrol.a /tmp/golang/pkg/linux_amd64: total 0 drwxr-xr-x 3 michael staff 60 2013-01-02 15:59 github.com /tmp/golang/pkg/linux_amd64/github.com: total 0 drwxr-xr-x 2 michael staff 60 2013-01-02 15:59 mstap /tmp/golang/pkg/linux_amd64/github.com/mstap: total 36K -rw-r--r-- 1 michael staff 34K 2013-01-02 15:59 godebiancontrol.a Now, obviously this is not dynamically linked. Neither does it use different host triplets. How do I make gccgo use dynamic linking? -- Best regards, Michael -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/x6pq1nmxxg....@midna.zekjur.net