From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84698 invoked by alias); 6 Mar 2020 12:56:11 -0000 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 Received: (qmail 84536 invoked by uid 89); 6 Mar 2020 12:56:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=gengtype-lex.c, UD:gengtype-lex.c, gengtypelexc, guides X-HELO: mail-wr1-f41.google.com Received: from mail-wr1-f41.google.com (HELO mail-wr1-f41.google.com) (209.85.221.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Mar 2020 12:56:08 +0000 Received: by mail-wr1-f41.google.com with SMTP id s17so1337994wrs.3 for ; Fri, 06 Mar 2020 04:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LCO8q5LpOx07aoExdMBIQ47eZM06kgpI1LvHEDn3QUM=; b=CLmmHSnCFPV9cfySYeFErvQFNxa5ouyYZgq0K2hQTlVez/p8FEM1WBgUYeSJWgi7zW v+YN6fuZ0Wi/SpoGP1sf7c7xHeBVwh+kVGxCbbyYB05eXhPhuHK5AEfe6PC9D8jjDsUt qNP7IRHMgbft6uk3dkaBSyOBho//Z28+7j/wvdywO+YSWCFiobULYy8sK6mEinh5OQ1c sODn/CMQNnMPJF0VSU3BXsqMK/2eLD35hVOEcdpjoVmUBQ3seoqQ+oyo1dGUqugHPRWO tg7WnyuBWExGayvnpnJ69iFjtyfu5kgcat0IHgxOrVI8M38UHF4T6PJDyb5ZH5LQ5F7Z m9IQ== MIME-Version: 1.0 References: <5e6238c2.1c69fb81.e2203.5452SMTPIN_ADDED_BROKEN@mx.google.com> <5e624788.1c69fb81.a0d08.4515SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: <5e624788.1c69fb81.a0d08.4515SMTPIN_ADDED_BROKEN@mx.google.com> From: Jonathan Wakely Date: Fri, 06 Mar 2020 12:56:00 -0000 Message-ID: Subject: Re: Re: Install gcc To: "yilu@bupt.edu.cn" Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00035.txt On Fri, 6 Mar 2020 at 12:52, yilu@bupt.edu.cn wrote: > > Oh...I'm so sorry. I've read these guides but I miss that I should go into the objdir to configure. Thanks! > This time I got into the objdir and use: > `./../gcc/configure --prefix=/usr/local/gcc --enable-languages=all --disable-multilib --disable-bootstrap` > and I found the Makefile in my objdir directory. I try `make -j4` and found > g++: error: gengtype-lex.c: No such file or directory > g++: fatal error: no input files > Could you help me with this? See https://gcc.gnu.org/install/prerequisites.html Flex version 2.5.4 (or later) Necessary when modifying *.l files. Necessary to build GCC during development because the generated output files are not included in the version-controlled source repository. They are included in releases.