From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12664 invoked by alias); 14 Jan 2015 13:33:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 12489 invoked by uid 55); 14 Jan 2015 13:33:41 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/64595] cgo installed into wrong directory Date: Wed, 14 Jan 2015 13:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01191.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64595 --- Comment #3 from rguenther at suse dot de --- On Wed, 14 Jan 2015, ian at airs dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64595 > > --- Comment #2 from Ian Lance Taylor --- > Right, cgo is not run directly. It is run by the go tool. It is in effect an > internal program like cc1. Ah - the README didn't say that. > The version suffix should be fine if libexecsubdir in libgo matches > libexecsubdir in gotools, as the go tool will locate cgo via the variable > theGccgoToolDir written to version.go by libgo/Makefile. I'll see if that > works with --enable-versions-specific-runtime-libs. Any example use that will end up executing cgo so I can check it out locally? > The docs are online at http://golang.org/cmd/{go,gofmt,cgo} which is where most > people read them. The docs come from the program source > (libgo/go/cmd/*/doc.go). The programs also have -help options. Would you like > me to add small man pages that direct people to the web pages? Yes, that would be convenient! (obviously cgo doesn't need a manpage then)