From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by sourceware.org (Postfix) with ESMTPS id 09CEE39874B2 for ; Thu, 18 Jun 2020 10:52:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 09CEE39874B2 Received: by mail-io1-xd2e.google.com with SMTP id i4so3433362iov.11 for ; Thu, 18 Jun 2020 03:52:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2jBQ111tR3UNoweh/tSAeFPk7Tgjck2hoMDXSNah25M=; b=Nu0ayvHY7IEU9KR6A8C8DtWK9cFzqnZsEuXT8aRHV9r8HWXnCsWhl7kBMxhegJdIKH BIGxDF5ZfSTx5yjFfa9BilZm+fPSL8QOrCbeA902JatgfL6PLbxy/Q0AeD2l7jKZhH5z dQDwinwDugyTrCGx20Gtl60rB7wUNMT7Hn/pCEvfzOJ3NO/23E+DVcYuM8mcLwQXqrkK E4fl36rukSYCw3s6IBbgqh8RCUhtqgXZ8T5Hemxu835xAmFnLejUc8Xizlt9u2QtdQrd +EomWQ7dP92kQ1eD7h4VmpkBXYSQ92pEGjx2ywz1AGasjJ/6hB5k2y1hdxTGOVCy2l+L 1uzQ== X-Gm-Message-State: AOAM532FetqBAZDvK70uA7+eyZGAAouv87GYV98N7hWVwh83q+P988IA /QFt+DQSIWml0MAaVgk7ftqRqgSLX0yTw+pjBI7Reg== X-Google-Smtp-Source: ABdhPJydJPqH3uSD/IARenNowLnYPzlbeTTRg4N4KifYIX3sLOafl8wUpLxnPefs8naLh8eC/a3vl9wlBcohn9Uxvo0= X-Received: by 2002:a5d:8e19:: with SMTP id e25mr4361037iod.36.1592477542389; Thu, 18 Jun 2020 03:52:22 -0700 (PDT) MIME-Version: 1.0 References: <20061810485711_32800155@hrem.nano.tudelft.nl> In-Reply-To: <20061810485711_32800155@hrem.nano.tudelft.nl> From: Jonathan Wakely Date: Thu, 18 Jun 2020 11:52:11 +0100 Message-ID: Subject: Re: Problem creating cross-compiler To: Jouk Jansen Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2020 10:52:26 -0000 On Thu, 18 Jun 2020 at 09:59, Jouk Jansen via Gcc-help wrote: > > Hi, > > I'm trying to build a cross-compiler which should be running on a Fedora 32 > system building objects for a IA64-OpenVMS system. I'm running the > compilation on a "up-to-date" Fedora 32 system. > > It does not matter which version of gcc I try, I always get the same error > message (see below). For gcc-10.1.0 II used the configure command showed > below. immediately after that I did run "make" and after some time I got the > error liste below. > > What do I do wrong? > > > ./configure --prefix=/home/joukj/openvms --exec-prefix=/home/joukj/openvms --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=ia64-hp-openvms Don't run configure in the source tree, see https://gcc.gnu.org/wiki/InstallingGCC > make > > > ... > g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtt > i -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qu > al -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedan > tic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_ > H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../ > .././gcc/../include -I../.././gcc/../libcpp/include \ > -o build/genmodes.o ../.././gcc/genmodes.c > ./as: line 106: exec: -I: invalid option This means you don't have an assembler for the cross target. > exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...] > make[2]: *** [Makefile:2722: build/genmodes.o] Error 1 > make[2]: Leaving directory '/home2/joukj/public/gcc/gcc-10.1.0/host-x86_64-unkno > wn-linux-gnu/gcc' > make[1]: *** [Makefile:4390: all-gcc] Error 2 > make[1]: Leaving directory '/home2/joukj/public/gcc/gcc-10.1.0' > make: *** [Makefile:955: all] Error 2 > > > > regards > Jouk > > > Pax, vel iniusta, utilior est quam iustissimum bellum. > (free after Marcus Tullius Cicero (106 b.Chr.-46 b.Chr.) > Epistularum ad Atticum 7.1.4.3) > > > Touch not the cat bot a glove > > >------------------------------------------------------------------------------< > > Jouk Jansen > > joukj@hrem.nano.tudelft.nl > > Technische Universiteit Delft tttttttttt uu uu ddddddd > Kavli Institute of Nanoscience tttttttttt uu uu dd dd > Nationaal centrum voor HREM tt uu uu dd dd > Lorentzweg 1 tt uu uu dd dd > 2628 CJ Delft tt uu uu dd dd > Nederland tt uu uu dd dd > tel. 31-15-2782272 tt uuuuuuu ddddddd > > >------------------------------------------------------------------------------< >