From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29911 invoked by alias); 7 Dec 2010 14:18:57 -0000 Received: (qmail 29900 invoked by uid 22791); 7 Dec 2010 14:18:56 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Dec 2010 14:18:52 +0000 From: "ian at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/46789] go configuration with --prefix=/usr pollutes the /usr/lib namespace X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 07 Dec 2010 14:18:00 -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 X-SW-Source: 2010-12/txt/msg00702.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46789 --- Comment #1 from ian at gcc dot gnu.org 2010-12-07 14:18:40 UTC --- Author: ian Date: Tue Dec 7 14:18:35 2010 New Revision: 167537 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167537 Log: PR other/46789 PR bootstrap/46812 * go-lang.c (go_char_p): Define type and vectors. (go_search_dirs): New static variable. (go_langhook_handle_option): Use version and version/machine directories for -L. (go_langhook_post_options): Add non-specific -L paths. * Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and DEFAULT_TARGET_MACHINE when compiling. * gccgo.texi (Invoking gccgo): Only document -L for linking. (Import and Export): Don't mention -L for finding import files. libgo: Install .gox files in version and target specific directory. Modified: trunk/gcc/go/ChangeLog trunk/gcc/go/Make-lang.in trunk/gcc/go/gccgo.texi trunk/gcc/go/go-lang.c trunk/libgo/Makefile.am trunk/libgo/Makefile.in