This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/2] Add -print-lto-plugin
> [hjl@gnu-6 gcc]$ grep LTOPLUGINSONAME configure.ac
> AC_DEFINE_UNQUOTED(LTOPLUGINSONAME,"${host_lto_plugin_soname}",
> [hjl@gnu-6 gcc]$
>
> Why not add LTOPLUGINSONAME to Makefile? Then you can use
> "gcc --print ...=$(LTOPLUGINSONAME)" to generate your scripts?
To which Makefile? The scripts should be called from arbitary
projects, not just the gcc makefile.
I'm not sure why you're so against that option anyways,
gcc has a couple of similar options to solve similar problems,
why not have one more that is convenient?
-Andi