mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Michael Forney <mforney@mforney.org>
To: Rich Felker <dalias@libc.org>
Cc: musl@lists.openwall.com
Subject: Re: [musl] Re: [musl-cross-make] [PATCH v2] litecross: Fix system header dir when building native toolchains
Date: Wed, 19 Aug 2020 14:00:13 -0700	[thread overview]
Message-ID: <CAGw6cBtoY2YnSCFpHOBy5MqzsjSANhYfQknrgr6vDacuB3LFuw@mail.gmail.com> (raw)
In-Reply-To: <20200510163555.GU21576@brightrain.aerifal.cx>

On 2020-05-10, Rich Felker <dalias@libc.org> wrote:
> I'll try to get back to this sometime soon, but at the moment my focus
> is already split several ways between mallocng, initial entropy source
> and csprng issues for musl (was considered a prereq for merging
> mallocng but I think it's turning out to be mostly separate which may
> mean I can punt on this for a while), bringing this all together for
> next musl release, and paid work independent from musl.

Now that musl 1.2.1 is out, can we revisit this?

To make sure we're on the same page, do you agree that if I build a
musl-cross-make toolchain with NATIVE=1, and install it to some
arbitrary directory $TOOLCHAIN, then the following is true?

1. The musl headers are located in $TOOLCHAIN/include.
2. $TOOLCHAIN/bin/gcc should include the directory containing musl
headers somewhere in its header search path.
3. $TOOLCHAIN/usr does not exist, so it is not useful to search for
headers in $TOOLCHAIN/usr/include

The only effect of my patch is to add $TOOLCHAIN/include to the header
search path of $TOOLCHAIN/bin/gcc and remove $TOOLCHAIN/usr/include
from the header search path of $TOOLCHAIN/bin/gcc, correcting points 2
and 3 above.

      parent reply	other threads:[~2020-08-19 21:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07  6:49 [musl-cross-make] [PATCH] " Michael Forney
2020-03-23  4:34 ` [musl] [musl-cross-make] [PATCH v2] " Michael Forney
2020-05-09  0:27   ` [musl] " Michael Forney
2020-05-10 16:35     ` Rich Felker
2020-05-10 20:35       ` Michael Forney
2020-05-10 21:52         ` Rich Felker
2020-05-13  8:18           ` Michael Forney
2020-05-13 14:37             ` Rich Felker
2020-05-13 18:48               ` Michael Forney
2020-05-13 18:55                 ` Rich Felker
2020-05-13 19:34                   ` Michael Forney
2020-05-13 20:04                     ` Laurent Bercot
2020-05-13 21:51                       ` Rich Felker
2020-05-14  8:40                         ` Laurent Bercot
2020-08-19 21:00       ` Michael Forney [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGw6cBtoY2YnSCFpHOBy5MqzsjSANhYfQknrgr6vDacuB3LFuw@mail.gmail.com \
    --to=mforney@mforney.org \
    --cc=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /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.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).