]> Cypherpunks repositories - gostls13.git/commit
build: clang support
authorRuss Cox <rsc@golang.org>
Fri, 15 Feb 2013 21:37:43 +0000 (13:37 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 15 Feb 2013 21:37:43 +0000 (13:37 -0800)
commit6d888f1e1b81bd2545e5da710d37a5a0ddce71d5
tree12a2d9d61db5223aaeacf60243210a31ad0a6006
parent428c4cc8d4611c0ddbfe78416b63f77272dade56
build: clang support

This works with at least one version of clang
that existed at one moment in time.
No guarantees about clangs past or future.

To try:
        CC=clang all.bash

It does not work with the Xcode clang,
because that clang fails at printing a useful answer
to:
        clang -print-libgcc-file-name
The clang that works prints a full path name for
that command, not just "libgcc.a".

Fixes #4713.

R=iant, minux.ma
CC=golang-dev
https://golang.org/cl/7323068
include/libc.h
misc/cgo/testso/test.bash
src/cmd/cgo/gcc.go
src/cmd/dist/build.c
src/cmd/go/build.go
src/cmd/go/env.go
src/make.bash
src/run.bash