This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New --pe-dll-characteristcs switch for PE ld.


On Sat, Mar 07, 2009 at 05:10:02AM +0000, Dave Korn wrote:
>Christopher Faylor wrote:
>> On Fri, Mar 06, 2009 at 04:42:20PM +0000, Dave Korn wrote:
>>>Can you enlarge on how you would see the name "--dll-characteristics"
>>>causing confusion?  [ ...  ] I'm really not grasping the problem that
>>>you think could arise.
>>
>>Since you are talking about things like "documented name"s, why not
>>just make each of these an option like the Microsoft linker does?
>
>Because I'm not working to implement their linker spec, I'm working to
>implement their object file format spec, so details of their linker
>syntax are outside the scope of the work I am doing and not relevant to
>me.

I don't see any reason for a user to have to remember two things
(--dll-characteristics something) when they could just use --something.
If implemented as a simple option, you could get useful information from
--help, and you wouldn't have to invent a new way of parsing options.
And, if we name the options similarly to Microsoft's link command (and
there is certainly precedent for ld accommodating other linker's
arguments) we might even make it slightly easier for people who are
familiar with Microsoft's tools to use ours.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]