From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from einhorn-mail-out.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by sourceware.org (Postfix) with ESMTPS id BBFBC3858D3C for ; Tue, 3 May 2022 23:42:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BBFBC3858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ubuntu.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ubuntu.com X-Envelope-From: doko@ubuntu.com Received: from authenticated.user (localhost [127.0.0.1]) by einhorn.in-berlin.de with ESMTPSA id 243NgiiF005447 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 4 May 2022 01:42:45 +0200 Message-ID: Date: Wed, 4 May 2022 01:42:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Content-Language: en-US To: Vladimir Mezentsev , Binutils References: <66894813-ea77-858f-40e9-addaac539c04@oracle.com> From: Matthias Klose Subject: Re: how should I configure my buuild for i386-*linux* In-Reply-To: <66894813-ea77-858f-40e9-addaac539c04@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, JMQ_SPF_ALL, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2022 23:42:53 -0000 On 04.05.22 01:31, Vladimir Mezentsev via Binutils wrote: >  Hi, > >  If I am on x86_64-*-linux* and want to build the i386-*linux* libraries (for > example, libopcodes or libbfd), > how should I configure my buuild ? > > The same question is for the aarch64-*-linux* host. you could have a look at the Debian build logs, e.g. look for the amd64 build log which also builds the binutils for i686 and aarch64 hosted on x86_64: https://buildd.debian.org/status/package.php?p=binutils (click on the "Installed" cell for the amd64 build log, then search for --target=i686-linux-gnu and --target=aarch64-linux-gnu > Is it possible to build on Arm  for Intel platform ? I am only building on aarch64, same as above, click the arm64 build log and search for --target=x86_64-linux-gnu. Matthias