From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4MTsE4M+hGUK9gAAkFu2QA (envelope-from ) for ; Thu, 21 Dec 2023 14:32:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8Hv5DYM+hGXqggEAqHPOHw (envelope-from ) for ; Thu, 21 Dec 2023 14:32:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=skdSPspD; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703165571; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/tjTO8UOlP4G6Zd8wipB692USGcD0ZfdWFwYSHnE2aA=; b=ky2nl7G7di/JXHZaweC2T5nLJeBHrXLTJd6Ly3eskPcvigSmg+j3OKafCiDs8BlOv1WT4d Lr28t/9jzOXVpZGLNoR+h7B/Xxvd+R58PEcry+yq3hgOAjG0x3rF8Hf72HQ0XAcdl37JOs ApFQU17h0hPuWZFHBN8bn7bghgwZvlKbMCuFvg30dyxqpCvdN7RBPxuWAy2Vf6pwpiiCU0 R6uzWQRHevgkmd5i+H6MLpAOQnX5DxqjY8aaYXgLqrj9Z675U2nSCwy01SWTDYCL/E8PL5 F6jopUbpSYNowXbr6PhnbB+ql73amb7bUt7aZTTufL/8FgkhowmlxoV1NbOBvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=skdSPspD; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703165571; a=rsa-sha256; cv=none; b=YhWtZfRstT6MQv+H9AC9UxrYZAVbZCnP/OnGGpgmgkQFu8qoFCBSDOv0ZCQIm/249qReoA SK9Zckyqr/bF7FfG6LtLGU0drOQIqwac58xUo3bNzUFDkXIi+jBhBJDaIqTDM/EEEbt8a1 GFKwNfoRpD7aQ6Gfxt6UFMjJTuoPC5pOPUUps0G0NrO8uyX9e8HzhpWhE2K0vJUzfcSnRR zb1OTPNgdVo69Pse97Ep7yrn1O5Nh4Kxd8iwBPueAhF2rvgzKQyUD4PouOnkObdGMawICN GOX7uPj2afG0CVv9YKF28XOXuCNC35WyjJMHjt1q0xKC18zFPb+QN3x+4XNCsA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 17A0537885 for ; Thu, 21 Dec 2023 14:32:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGJ9y-0000mu-SJ; Thu, 21 Dec 2023 08:32:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGJ9x-0000ml-Vh for guix-devel@gnu.org; Thu, 21 Dec 2023 08:32:21 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGJ9t-000393-4S for guix-devel@gnu.org; Thu, 21 Dec 2023 08:32:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1703165533; x=1703424733; bh=/tjTO8UOlP4G6Zd8wipB692USGcD0ZfdWFwYSHnE2aA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=skdSPspDblTDmBjy/WIXpTptI9smqd+B4VryH1yM8lUhAD12heaT263vpS1/c7vJF tUO4q/Fs0aoelnicoP9KVYrBI2r9uBykc0vyWvaoGEI2Jf6G8vsVxJe1ZMkDO5TMcW hyhc4i93kOl4zKARUmhboIlqGMrIX1//fnEvLc1522sjuuD4oMB3TOVeq88cqjAvcN i5ZaJLgNfWbqbcWXyYwN4BDTZv9AuSXoBiJgYvdCV8TUySOZ3x3pNP8OBRT90RE7vi ZA6u7OXyDZigp89kOjBzqOpezZrJWgMxkfRuhZKgc6kbrrDKr+s8jiDB3QbWm3Pwfc G0Md3uaErmwqA== Date: Thu, 21 Dec 2023 13:32:05 +0000 To: Stefan From: Attila Lendvai Cc: guix-devel@gnu.org Subject: Re: A different way to build GCC to overcome issues, especially with C++ for embedded systems Message-ID: In-Reply-To: <0db7f8a7-906f-6552-26e8-93162f6d266e@vodafonemail.de> References: <0db7f8a7-906f-6552-26e8-93162f6d266e@vodafonemail.de> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.11 X-Spam-Score: -9.11 X-Migadu-Queue-Id: 17A0537885 X-Migadu-Scanner: mx10.migadu.com X-TUID: 43a8oZPT2ZrK hi Stefan, > In the end it worked nicely for my embedded C++ stuff and I also managed > to compile a custom keyboard firmware based on ZMK using Zephyr, > although that is just C code. i've also encountered a problem with the guix cross compiling tools as i ha= ve described here: https://lists.gnu.org/archive/html/guix-devel/2023-12/msg00179.html i tried with your gcc (copied into guix as (gnu packages embedded2)): ~/workspace/guix/guix/pre-inst-env guix shell gcc-toolchain cmake make pkg-= config -e '(@ (gnu packages embedded2) gcc12-cross-newlib-arm-none-eabi-too= lchain)' cd ~/workspace/bios/pico-serprog cmake . make but it errors out with: $ make [ 1%] Linking ASM executable bs2_default.elf arm-none-eabi-gcc: error: nosys.specs: No such file or directory IIRC, this happens with the vanilla guix packages when i try to use a gcc p= ackage instead of a gcc-toolchain package. any thoughts on this? --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CThere can be no causeless love or any sort of causeless emotion. A= n emotion is a response to a fact of reality, an estimate dictated by your = standards.=E2=80=9D =09=E2=80=94 Ayn Rand (1905=E2=80=931982)