From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 184B8C433EF for ; Sun, 8 May 2022 19:25:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7537B40990; Sun, 8 May 2022 19:25:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ya_MHT9CpC7F; Sun, 8 May 2022 19:25:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 820CA4097F; Sun, 8 May 2022 19:25:07 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B90521BF3F2 for ; Sun, 8 May 2022 19:25:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id A77934097F for ; Sun, 8 May 2022 19:25:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aC8c-irGpNu7 for ; Sun, 8 May 2022 19:25:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9CC3440101 for ; Sun, 8 May 2022 19:25:04 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id 934AA20003; Sun, 8 May 2022 19:25:01 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1nnmWa-001JtC-AS; Sun, 08 May 2022 21:25:00 +0200 From: Peter Korsgaard To: Alex References: <80d6f58b-a36e-6148-c6b6-37a29d3244e5@freenet.de> <874k221y8l.fsf@dell.be.48ers.dk> <87zgjsxujk.fsf@dell.be.48ers.dk> Date: Sun, 08 May 2022 21:25:00 +0200 In-Reply-To: (Alex's message of "Sun, 8 May 2022 20:09:43 +0200") Message-ID: <87a6brhlo3.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] buildroot host builds with g++ X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Alex" == Alex writes: Hi, >> > So, if I build the idl compiler for the target, compile is >> > successfull. (make with TARGET_CONFIGURE_OPTS) >> > But buiding for the host (make with HOST_CONFIGURE_OPTS) the build >> > fails with >> >> > g++: error: /usr/bin/g++": No such file or directory >> >> > In buildroot-config, BR2_TOOLCHAIN_BUILDROOT_CXX is set. >> >> > So how can I get a g++ for host building? >> >> You need to instal g++ on your build machine. > g++ is installed on my build machine where I create my buildroot system. > The project compiles outside of buildroot on my build machine. > Does buildroot environment need a link/variable to the g++ on the > built machine? Are you sure? Based on the above, it doesn't sound like you have a /usr/bin/g++? -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot