[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: |
Ralf Wildenhues |
Subject: |
Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC |
Date: |
Mon, 6 Sep 2010 22:18:10 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
* Peter Rosin wrote on Mon, Sep 06, 2010 at 09:34:02PM CEST:
> Den 2010-09-06 20:42 skrev Ralf Wildenhues:
> > * Peter Rosin wrote on Mon, Sep 06, 2010 at 08:38:31PM CEST:
> >> 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.
I think as a general rule that is fine, but here ...
> Maybe libtool is faster at converting though,
> since it doesn't need to look up what conversion to perform?
... not just that: it has already converted the exact same string
before, namely $tool_output_objdir. Adding this:
> From a correctness POV, it doesn't matter.
I think you should just reuse the result you already have, here.
Thanks,
Ralf
- [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path., (continued)
- [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, 2010/09/06
- Re: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC,
Ralf Wildenhues <=
- 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
- Re: [PATCH 6/7] Convert file name to toolchain format when invoking $NM., Charles Wilson, 2010/09/09