bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12485] Support for automatic linking via pragma


From: ccoutant at google dot com
Subject: [Bug gold/12485] Support for automatic linking via pragma
Date: Mon, 28 Feb 2011 23:00:45 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12485

Cary Coutant <ccoutant at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccoutant at google dot com

--- Comment #4 from Cary Coutant <ccoutant at google dot com> 2011-02-28 
23:00:28 UTC ---
I think it's a great idea, and have wanted to see this feature in Unix for a
long time. Yes, there will need to be some cooperation with gcc, but that could
be as simple as a note section, from which the linker could read additional -l
options. There will be some additional complexity in determining where in the
link order these additional options should be placed: a complete solution would
have each library and each relocatable object note all of its direct
dependencies so that the linker could construct a topological ordering. At that
point, you could in theory just say "ld main.o" and get a working program out.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]