From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25737 invoked by alias); 19 Dec 2011 18:45:17 -0000 Received: (qmail 25724 invoked by uid 22791); 19 Dec 2011 18:45:15 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Dec 2011 18:45:03 +0000 Received: by yenm12 with SMTP id m12so3533704yen.20 for ; Mon, 19 Dec 2011 10:45:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.128.138 with SMTP id f10mr31895920yhi.2.1324320302374; Mon, 19 Dec 2011 10:45:02 -0800 (PST) Received: by 10.236.14.164 with HTTP; Mon, 19 Dec 2011 10:45:02 -0800 (PST) In-Reply-To: References: <20111129234653.A7AD35101D6@outside.256.com> Date: Mon, 19 Dec 2011 18:45:00 -0000 Message-ID: Subject: Re: Problem building gcc From: Abdul Wahid Memon To: gcc-help@gcc.gnu.org Cc: gideon425.gb5@mailnull.com Content-Type: text/plain; charset=ISO-8859-1 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: 2011-12/txt/msg00140.txt.bz2 Hello everyone I also got the same error and according to your solution I set LIBRARY_PATH=/usr/lib/x86_64-linux-gnu but then the compilation process complains that checking LIBRARY_PATH variable... contains current directory configure: error: *** LIBRARY_PATH shouldn't contain the current directory when *** building gcc. Please change the environment variable *** and run configure again. make[2]: *** [configure-stage2-gcc] Error 1 make[2]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gcc' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gcc' make: *** [all] Error 2 Regards Abdul On Wed, Nov 30, 2011 at 12:56 AM, Marc Glisse wrote: > On Tue, 29 Nov 2011, gideon425.gb5@mailnull.com wrote: > >> I am having problems building gcc 4.6.2 >> >> I am using Ubuntu 11.10 >> >> Here is the error >> >> /usr/bin/ld: cannot find crti.o: No such file or directory > > > Here is the solution: > export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu > > >> What additional information can I supply to help understand this problem? > > > Problem understood, gcc doesn't currently support debian and the derivative > distributions like ubuntu. > > -- > Marc Glisse