libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC


From: Peter Rosin
Subject: Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC
Date: Mon, 06 Sep 2010 21:34:02 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

Den 2010-09-06 20:42 skrev Ralf Wildenhues:
> * Peter Rosin wrote on Mon, Sep 06, 2010 at 08:38:31PM CEST:
>> Den 2010-09-06 20:01 skrev Ralf Wildenhues:
>>> * Peter Rosin wrote on Mon, Sep 06, 2010 at 11:14:19AM CEST:
>>>> Easily? Is this something like this what you had in mind? (untested)
>>>
>>> Yes, something like that is what I had in mind, nice!  I haven't tested
>>> it yet either, though.
>>
>> I think I want to do
>>
>> +    func_to_tool_file "$output_objdir/"
>> +    tool_output_objdir=$func_to_tool_file_result
>>
>> and
>>
>> +      $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs 
>> "@$tool_output_objdir$soname.exp" -Wl,-DLL~
> 
> I'm not sure why you replace the second $output_objdir/ instance but not
> the first one in this line?

I'm not sure it's a good reason, but there is zero chance of this
code path in libtool working without 'compile'. The first conversion
is handled by 'compile' and as a rule of thumb I have converted as
late as possible. Maybe libtool is faster at converting though,
since it doesn't need to look up what conversion to perform?

I'm unsure. From a correctness POV, it doesn't matter. What do you
think given the above?

>> And, ok to push (with the other nits) if it works? (testsuite now running)
> 
> Well, yeah, if there is a good reason for the above apparent
> inconsistency (and if things work, of course).

Ok, good, but I'm still interested in your taste guideline. And,
as always, thanks for the reviews!

Cheers,
Peter



reply via email to

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