[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed
From: |
Dave Korn |
Subject: |
Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed. |
Date: |
Tue, 18 Aug 2009 00:28:30 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (Windows/20080914) |
Roumen Petrov wrote:
> The calculation or relative path to dll is based on function XXX_abspath
> that may produce wrong results.
No it doesn't. Like any function, it produces the correct results when
given valid inputs, but if you give it bad input, you get GIGO. I suggest you
go read the fine manual about the "realpath" and "abspath" functions, because
until you understand the difference between these two functions you're just
wasting everybody's time. *Your suggestion to use realpath instead of abspath
requires magic or time-travel before it is even possible, which is why I will
waste no time on it.*
> I'm concerned that we can't implement a working portable(cross-platform)
> relative path calculation.
But that is exactly what I have done. It works, it is in portable code, it
operates the same on all platforms. It has an implicit requirement that you
do not pass it a path containing a symlink. As does *everything else* in
autotools.
> What is better for "dlname" for installed la-file: absolute or relative path ?
That you could even ask such a question demonstrates that you don't
understand the subject you are pontificating about. Go and read up about how
'configure' works and what a "prefix" is.
cheers,
DaveK
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., (continued)
Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Roumen Petrov, 2009/08/16
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Dave Korn, 2009/08/16
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Roumen Petrov, 2009/08/16
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Charles Wilson, 2009/08/16
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Roumen Petrov, 2009/08/17
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed.,
Dave Korn <=
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Roumen Petrov, 2009/08/18
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Dave Korn, 2009/08/18
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Charles Wilson, 2009/08/18
- Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Roumen Petrov, 2009/08/20
Re: [PATCH, take 4][cygwin|mingw] Control where win32 DLLs get installed., Dave Korn, 2009/08/16