From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7332 invoked by alias); 7 Mar 2013 22:12:53 -0000 Received: (qmail 7322 invoked by uid 22791); 7 Mar 2013 22:12:50 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE X-Spam-Check-By: sourceware.org Received: from Unknown (HELO mout.gmx.net) (212.227.17.22) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Mar 2013 22:12:36 +0000 Received: from 3capp-gmx-bs38.server.lan ([172.19.170.90]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MDBXW-1TzSNc325M-00GYib; Thu, 07 Mar 2013 23:12:28 +0100 Received: from [78.50.189.172] by 3capp-gmx-bs38.server.lan with HTTP; Thu Mar 07 23:12:28 CET 2013 MIME-Version: 1.0 Message-ID: From: gcc_mailinglist@abwesend.de To: "Kai Ruottu" Cc: gcc-help@gcc.gnu.org Subject: Aw: Re: Re: compile gcc 4.7.2 Ubuntu 12.04 fails with GCC_NO_EXECUTABLES Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 07 Mar 2013 22:12:00 -0000 Sensitivity: Normal In-Reply-To: <513902D3.8040509@wippies.com> References: , <5138F4F4.9090308@wippies.com> <5138FED7.3050105@wippies.com>, <513902D3.8040509@wippies.com> X-UI-Message-Type: mail X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2013-03/txt/msg00101.txt.bz2 > Gesendet: Donnerstag, 07. M=C3=A4rz 2013 um 22:12 Uhr > Von: "Kai Ruottu" > An: "gcc-help@gcc.gnu.org" > Cc: gcc_mailinglist@abwesend.de > Betreff: Re: Aw: Re: compile gcc 4.7.2 Ubuntu 12.04 fails with GCC_NO_EXE= CUTABLES > > 7.3.2013 22:55, Kai Ruottu kirjoitti: > > 7.3.2013 22:19, gcc_mailinglist@abwesend.de kirjoitti: > >> /usr/bin/ld: cannot find crt1.o: No such file or directory > >> /usr/bin/ld: cannot find crti.o: No such file or directory > > > > The previous seems to be the problem... Basically the Ubuntu's custom > > ld should know where these startups are, in '/usr/lib/x86_64-linux-gnu' > > I think. Please check where they really are in your system... > > > > If the command 'ld -verbose' (used with '| less') doesn't show the > > places > > where they are in the 'SEARCH_DIR' or something in the output > > beginning, then > > something is broken :-( > > > > Searching with Google for "building GCC for Ubuntu" may tell what are t= he > > problems and workarounds, Ubuntu isn't a "standard" Linux but somehow > > "custom". > > > > OK, in : > > http://solarianprogrammer.com/2012/04/13/building-gcc-4-7-on-ubuntu-12-04/ > > there were instructions to set in environment (in your case) : > > export LD_LIBRARY_PATH=3D/opt/gcc_4_7_2/lib:$LD_LIBRARY_PATH > export LIBRARY_PATH=3D/usr/lib/x86_64-linux-gnu/ > export C_INCLUDE_PATH=3D/usr/include/x86_64-linux-gnu > export CPLUS_INCLUDE_PATH=3D/usr/include/x86_64-linux-gnu > > before 'configure' and 'make' and make a symlink : > > sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64 > > before 'make install' > > With the export and the symbolic link it compiles without problems. Thanks