From: Rutherther <rutherther@protonmail.com>
To: ekaitz@elenq.tech, help-guix@gnu.org
Subject: Re: arm-none-eabi-toolchain: stdlib.h not found
Date: Fri, 06 Sep 2024 21:32:03 +0000 [thread overview]
Message-ID: <871q1wo4dq.fsf@protonmail.com> (raw)
Hello Ekaitz,
the issue here is that the CROSS_CPLUS_INCLUDE_PATH contains
the C include path first, but cstdlib is using #include_next "stdlib.h".
Since stdlib.h is previous to cstdlib in include paths, stdlib.h is not
found as "next". As a workaround, change the order in this variable.
Another issue you might have is the libstdc++ not being linked properly,
that might be because currently it outputs to /lib inside of package
output instead of arm-none-eabi/lib. You might try adding the $GUIX_ENVIRONMENT/lib
into your CROSS_LIBRARY_PATH as a workaround.
Regards,
Rutherther
next reply other threads:[~2024-09-06 22:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-06 21:32 Rutherther [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-07 11:44 arm-none-eabi-toolchain: stdlib.h not found Stefan
2023-09-05 18:09 Ekaitz Zarraga
2023-09-26 22:28 ` Ekaitz Zarraga
2023-09-26 22:35 ` 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=871q1wo4dq.fsf@protonmail.com \
--to=rutherther@protonmail.com \
--cc=ekaitz@elenq.tech \
--cc=help-guix@gnu.org \
/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.
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).