[Top][All Lists]
[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
- [PATCH 3/7] Convert file names to toolchain format in $NM and $AR @files., (continued)
- [PATCH 3/7] Convert file names to toolchain format in $NM and $AR @files., Peter Rosin, 2010/09/05
- [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path., Peter Rosin, 2010/09/05
- [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Peter Rosin, 2010/09/05
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Ralf Wildenhues, 2010/09/05
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Peter Rosin, 2010/09/06
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Ralf Wildenhues, 2010/09/06
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Peter Rosin, 2010/09/06
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Ralf Wildenhues, 2010/09/06
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC,
Peter Rosin <=
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Ralf Wildenhues, 2010/09/06
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC, Peter Rosin, 2010/09/07
[PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/05
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Ralf Wildenhues, 2010/09/05
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/08
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/08
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/08
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/09
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Peter Rosin, 2010/09/09