From: Mike Frysinger <vapier@gentoo.org>
To: Olivier Galibert <galibert@pobox.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] Make using non-default as/ld/etc easier.
Date: Sun, 22 Aug 2021 21:43:24 -0400 [thread overview]
Message-ID: <YSL9NUX9Uke12gc2@vapier> (raw)
In-Reply-To: <20210822071127.490511-1-galibert@pobox.com>
On 22 Aug 2021 09:11, Olivier Galibert via Libc-alpha wrote:
> Add the configure parameters
> --with-{as,ld,ar,objdump,objcopy,gprof}=path to optionally force the
> path for these programs without having to tweak the output of
> $CC -print-prog-name in some way.
>
> In addition, when --with-{as,ld} is used the corresponding program
> version is not check. The user gets to keep all the pieces if it
> blows.
>
> In practice, according to a build log on x86-64, $AS and $LD are never
> used directly. $AR, $OBJDUMP and $OBJCOPY are though, and the llvm
> variants don't seem to have any issue.
i don't think we need configure flags for these. we don't have them for CC
or CXX or CPP. you just need to declare AC_ARG_VAR on these and omit the
AC_ARG_WITH logic.
-mike
next prev parent reply other threads:[~2021-08-23 1:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-22 7:11 Olivier Galibert
2021-08-22 20:14 ` Fangrui Song
2021-08-23 1:43 ` Mike Frysinger [this message]
2021-08-23 19:17 ` Olivier Galibert
2021-08-23 21:33 ` Mike Frysinger
2021-08-24 8:34 ` Olivier Galibert
2021-09-07 7:41 ` Olivier Galibert
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=YSL9NUX9Uke12gc2@vapier \
--to=vapier@gentoo.org \
--cc=galibert@pobox.com \
--cc=libc-alpha@sourceware.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).