From: Rutherther <rutherther@ditigal.xyz>
To: Stefan <stefan-guix@vodafonemail.de>, guix-devel@gnu.org
Cc: "Ekaitz Zarraga" <ekaitz@elenq.tech>,
"Attila Lendvai" <attila@lendvai.name>,
"Sergio Pastor Pérez" <sergio.pastorperez@outlook.es>,
"Efraim Flashner" <efraim@flashner.co.il>,
"Timothy Sample" <samplet@ngyro.com>,
janneke@gnu.org
Subject: Re: A different way to bootstrap and build GCC
Date: Sun, 24 Nov 2024 13:02:11 +0100 [thread overview]
Message-ID: <874j3w1r9r.fsf@ditigal.xyz> (raw)
In-Reply-To: <f931c93a-8eb4-488c-ab70-c1fd9eb12bfc@vodafonemail.de>
Hi Stefan,
> Well, finally my actual goal is to build GCC differently: There is no need to patch in CROSS_C_INCLUDE_PATH etc. The include paths to standard header files must not be provided through
> environment variables at all. This is the cause of all the troubles people have with GCC in Guix for both native and cross building. In the end only the one
> gcc-12-strmov-store-file-names.patch is necessary, and this not even for static builds during bootstrapping. Keeping (package (inherit …) …) will tear in all the mistakes, which I try
> hard to avoid.
I think it's good idea to move away from C_INCLUDE_PATH,
LIBRARY_PATH for the toolchain libraries (glibc, stdlibc++, ...), but
what about other libraries? Those, as far as I can tell,
have to be provided by a search path, as they cannot be compiled inside
the toolchain. Or am I mistaken in this?
And if this is true, I think it would be good to still keep
this CROSS_* convention that allows at least gcc for base system,
libraries for the base system, along with cross gcc and libraries
for cross target. Of course there will still be problems with multiple
target toolchains, and I am not sure what could be done to resolve that.
Regards,
Rutherther
next prev parent reply other threads:[~2024-11-24 17:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-18 12:45 A different way to build GCC to overcome issues, especially with C++ for embedded systems Sergio Pastor Pérez
2024-05-19 22:06 ` Stefan
2024-05-20 6:59 ` Attila Lendvai
2024-05-24 15:48 ` Sergio Pastor Pérez
2024-05-24 17:05 ` Jean-Pierre De Jesus Diaz
2024-05-25 22:20 ` Ricardo Wurmus
2024-05-27 10:48 ` Jean-Pierre De Jesus Diaz
2024-11-23 23:20 ` A different way to bootstrap and build GCC Stefan
2024-11-23 23:46 ` Ekaitz Zarraga
2024-11-24 8:27 ` Efraim Flashner
2024-11-24 12:02 ` Stefan
2024-11-24 12:02 ` Stefan
2024-11-24 12:02 ` Rutherther [this message]
2024-11-24 21:13 ` Stefan
2024-11-24 12:36 ` Ekaitz Zarraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874j3w1r9r.fsf@ditigal.xyz \
--to=rutherther@ditigal.xyz \
--cc=attila@lendvai.name \
--cc=efraim@flashner.co.il \
--cc=ekaitz@elenq.tech \
--cc=guix-devel@gnu.org \
--cc=janneke@gnu.org \
--cc=samplet@ngyro.com \
--cc=sergio.pastorperez@outlook.es \
--cc=stefan-guix@vodafonemail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).