Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Peter Rosin
Den 2010-01-26 16:26 skrev JonY: I suggest the following naming scheme. mingw.org:lib-.dll (unchanged) Cygwin:cyg-.dll (unchanged) mingw-w64(64):lib64-.dll mingw-w64(32):lib32-.dll But then mingw-w64 invades the mingw.org namespace. Perhaps l64-.dll and l32-.dll? Cheers, P

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread JonY
On 1/27/2010 18:02, Peter Rosin wrote: Den 2010-01-26 16:26 skrev JonY: I suggest the following naming scheme. mingw.org: lib-.dll (unchanged) Cygwin: cyg-.dll (unchanged) mingw-w64(64): lib64-.dll mingw-w64(32): lib32-.dll But then mingw-w64 invades the mingw.org namespace. Perhaps l64-.dll

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Matěj Týč
On Tue, 2010-01-26 at 23:26 +0800, JonY wrote: ... > I suggest the following naming scheme. > > mingw.org:lib-.dll (unchanged) > Cygwin: cyg-.dll (unchanged) > mingw-w64(64):lib64-.dll > mingw-w64(32):lib32-.dll > > libtool should also check if GCC "-m32" or "-m6

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Peter Rosin
Den 2010-01-27 20:54 skrev Matěj Týč: On Tue, 2010-01-26 at 23:26 +0800, JonY wrote: ... I suggest the following naming scheme. mingw.org: lib-.dll (unchanged) Cygwin: cyg-.dll (unchanged) mingw-w64(64): lib64-.dll mingw-w64(32): lib32-.dll libtool should also check if GCC "-m32

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Matěj Týč
On Wed, 2010-01-27 at 22:19 +0100, Peter Rosin wrote: > Den 2010-01-27 20:54 skrev Matěj Týč: > > On Tue, 2010-01-26 at 23:26 +0800, JonY wrote: > > ... > >> I suggest the following naming scheme. > >> > >> mingw.org: lib-.dll (unchanged) > >> Cygwin:cyg-.dll (unchanged) > >> mingw-w64(

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Roumen Petrov
Matěj Týč wrote: On Tue, 2010-01-26 at 23:26 +0800, JonY wrote: ... I suggest the following naming scheme. mingw.org: lib-.dll (unchanged) Cygwin: cyg-.dll (unchanged) mingw-w64(64): lib64-.dll mingw-w64(32): lib32-.dll libtool should also check if GCC "-m32" or "-m64" is used,

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Roumen Petrov
Matěj Týč wrote: [SNIP] Wow, this is interesting. I remember that one guy asked about the dll prefix and he has been advised to strip the prefix from the library name and add the '-module' flag to libtool in order to silence complaints. [SNIP] -module flag will install dll in $libdir and without

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Tor Lillqvist
> I'm not sure that idea for lib{64|32} is so good. Me neither, but, > As I know for 32 bit process  64 bit microsoft windows os will return > %WINDOWS%\SysWOW64 as system folder. For 64 bit process it is > %WINDOWS%\System32 I fail to see what *that* has to do with it. Surely nobody builds any

Re: Extend libtool dll namespaces for mingw-w64

2010-01-27 Thread Ralf Wildenhues
* JonY wrote on Tue, Jan 26, 2010 at 04:26:32PM CET: > Currently, on Win32 platforms, Cygwin uses the "cyg" prefix for dlls, > and MinGW based systems uses the "lib" prefix. > > This works fine, until mingw-w64 showed up with 64bit dlls. This > problem is especially apparent with trying to build m

Re: Problem creating shared libraries (DLL's) on OS/2

2010-01-27 Thread Ralf Wildenhues
Hello Paul, * Paul Smedley wrote on Mon, Jan 25, 2010 at 11:28:42PM CET: > I have libtool mostly working to create DLL's on SO/2 - with one problem. > > Our ld.exe is based on a very old version of GNU ld - and as such, > doesn't seem to correctly create reloadable object files. Which version?