[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/2484] New: ar to merge in another library (.a file)
From: |
jozef dot kruger at philips dot com |
Subject: |
[Bug binutils/2484] New: ar to merge in another library (.a file) |
Date: |
24 Mar 2006 19:44:08 -0000 |
I would very much like to see ar being able to accept .a files.
In my opinion it should then extract all object files from the archive and add
them to the archive you're adding to.
Example:
ar rc libmore_objs.a more_obj1.o more_obj2.o
ar rc libtarget.a obj1.o obj2.o libmore_objs.a
would be equivalent to:
ar rc libtarget.a obj1.o obj2.o more_obj1.o more_obj2.o
At the moment we use a workaround that extracts the libmore_objs.a into a
directory and then adds all .o files in that directory to libtarget.a.
To do this in a Makefile is not really a problem, but in other situations the
above feature request would come in very handy.
I'm no expert on binutils, so please feel free to elaborate on my feature
request.
If there is nobody who has time to implement this, I could implement it myself
(having a job closely related to compilers, simulators and linkers), but then I
would appreciate some pointers as to where to implement this.
--
Summary: ar to merge in another library (.a file)
Product: binutils
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: jozef dot kruger at philips dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=2484
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/2484] New: ar to merge in another library (.a file),
jozef dot kruger at philips dot com <=