On 12/15/21 9:28 PM, H.J. Lu wrote:
I built nios2-linux-gnu cross compiler using glibc build-many-glibcs.py
script:
[snip]
using glibc master, binutils master and gcc master. Is there a way
to reproduce it with build-many-glibcs.py?
If it requires host tools built from binutils master, that is no good.
We build our cross-tools using a host toolchain built from an older,
stable branch. Some other developers build GCC cross-compilers using
whatever version of the host tools are provided by their OS distro.
FWIW, the --help output for both ar 2.32.51 and 2.25.51 indicates that
--plugin is supposed to come *after* the command options, not before,
which is where your Makefile changes are putting it. E.g.
$ x86_64-linux-gnu-ar --help
Usage: x86_64-linux-gnu-ar [emulation options]
[-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin <name>] [member-name]
[count] archive-file file...
x86_64-linux-gnu-ar -M [<mri-script]
-Sandra