bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28851] ar: add 'L' modifier as a shortcut for ADDLIB


From: hp at sourceware dot org
Subject: [Bug binutils/28851] ar: add 'L' modifier as a shortcut for ADDLIB
Date: Tue, 26 Nov 2024 21:16:38 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28851

--- Comment #1 from Hans-Peter Nilsson <hp at sourceware dot org> ---
I just stumbled upon this wart (can't straightforwardly create a static archive
from he contents of other static archives and objects) in local scripts - or
rather, how it was worked around: creating a temporary thin archive of any mix
of static archives and objects  and then do as in the description, but just
addlib the single thin archive.  The temporary thin archive can even use the
same name as the final archive because of the way the MRI commands work.

Now, that was unsightly to me so I was looking for a more digestible solution. 
So far, I've found none, just this suggestion, which I second with one
amendment: allow any mix of objects and archives as parameters for the "new" L
option, not just libraries.  Let's also have a long option name, perhaps
--addlib?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]