https://sourceware.org/bugzilla/show_bug.cgi?id=28851
Bug ID: 28851 Summary: ar: add 'L' modifier as a shortcut for ADDLIB Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: i at maskray dot me Target Milestone: --- `ar r a.a b.a` adds b.a as a member. Sometimes the user wants to add the members of an archive into another archive. https://sources.debian.org/src/x265/3.5-2/build/linux/multilib.sh/?hl=29#L27 uses the following to merge several archives into one: ar -M <<EOF CREATE libx265.a ADDLIB libx265_main.a ADDLIB libx265_main10.a ADDLIB libx265_main12.a SAVE END EOF Using MRI is inconvenient. In 2018, llvm-ar added 'L' as a shortcut for ADDLIB (https://reviews.llvm.org/D53332). It'd be nice if binutils ar supports 'L' as well. -- You are receiving this mail because: You are on the CC list for the bug.