From: Stefan <stefan-guix@vodafonemail.de>
To: Rutherther <rutherther@ditigal.xyz>, 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 22:13:56 +0100 [thread overview]
Message-ID: <94bbc54c-3856-4adf-854f-f3b282ef35f3@vodafonemail.de> (raw)
In-Reply-To: <874j3w1r9r.fsf@ditigal.xyz>
Hi Rutherther!
> 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?
These search paths stay.
> And if this is true, I think it would be good to still keep
> this CROSS_* convention
For other libraries than the standard ones there will be no real problems, as in Guix the build environments only provide the needed packages, so there shouldn’t be any problems.
For cross-compilers used by guix build --target=… these CROSS… variables anyway collect the same paths, namely <package>/include and <package>/lib. So whatever the name of these variables is, it makes no difference.
I also think that there won’t be many clashes between include files from packages for the host and include files from packages used with an embedded cross-compiler. I currently don’t see the real need. Even if you install several compilers into your profile, you certainly won’t install embedded source code packages into your profile. Or do you? Even on “usual“ Filesystem-Hierarchy-Standard systems no cross-compiler uses different environment variables for include paths.
But to be honest, I'm not really sure about this for embedded cross-compilers yet. Whatever I did myself so far was all fine without these CROSS… variables. So I’d like to first try without as far as possible.
Bye
Stefan
next prev parent reply other threads:[~2024-11-24 21:15 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
2024-11-24 21:13 ` Stefan [this message]
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=94bbc54c-3856-4adf-854f-f3b282ef35f3@vodafonemail.de \
--to=stefan-guix@vodafonemail.de \
--cc=attila@lendvai.name \
--cc=efraim@flashner.co.il \
--cc=ekaitz@elenq.tech \
--cc=guix-devel@gnu.org \
--cc=janneke@gnu.org \
--cc=rutherther@ditigal.xyz \
--cc=samplet@ngyro.com \
--cc=sergio.pastorperez@outlook.es \
/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).