Re: [Mingw-w64-public] Multilib dlltool

2011-04-08 Thread Kai Tietz
2011/4/2 Prof Brian Ripley : > Thanks to Kai for this. > > One more thing to note: > > gcc -m32 does not define WIN64 > windres -F i386 does (which seems to me a buglet). > > Brian Ripley > > On Wed, 30 Mar 2011, Kai Tietz wrote: > >> 2011/3/30 Prof Brian Ripley : >>> >>> On Tue, 29 Mar 2011, John

Re: [Mingw-w64-public] Multilib dlltool

2011-04-02 Thread Prof Brian Ripley
Thanks to Kai for this. One more thing to note: gcc -m32 does not define WIN64 windres -F i386 does (which seems to me a buglet). Brian Ripley On Wed, 30 Mar 2011, Kai Tietz wrote: 2011/3/30 Prof Brian Ripley : On Tue, 29 Mar 2011, John E. / TDM wrote: On 3/29/2011 12:09 AM, Prof Brian Ri

Re: [Mingw-w64-public] Multilib dlltool

2011-03-30 Thread Kai Tietz
2011/3/30 Prof Brian Ripley : > On Tue, 29 Mar 2011, John E. / TDM wrote: > >> On 3/29/2011 12:09 AM, Prof Brian Ripley wrote: >>> dlltool -m i386 --as "as --32" >>> >>> but that syntax seems to fail as it does not unpack the quoting >>> GNU c:\R\TDM\bin\dlltool (GNU Binutils) 2.21 >>> >>> dlltool

Re: [Mingw-w64-public] Multilib dlltool

2011-03-30 Thread Prof Brian Ripley
On Tue, 29 Mar 2011, John E. / TDM wrote: > On 3/29/2011 12:09 AM, Prof Brian Ripley wrote: >> dlltool -m i386 --as "as --32" >> >> but that syntax seems to fail as it does not unpack the quoting >> GNU c:\R\TDM\bin\dlltool (GNU Binutils) 2.21 >> >> dlltool -m i386 -k --as "as --32" -v --dllname R

Re: [Mingw-w64-public] Multilib dlltool

2011-03-29 Thread John E. / TDM
On 3/29/2011 12:09 AM, Prof Brian Ripley wrote: > dlltool -m i386 --as "as --32" > > but that syntax seems to fail as it does not unpack the quoting > GNU c:\R\TDM\bin\dlltool (GNU Binutils) 2.21 > > dlltool -m i386 -k --as "as --32" -v --dllname R.dll --input-def > R.def --output-lib libR.dll.a >

[Mingw-w64-public] Multilib dlltool

2011-03-28 Thread Prof Brian Ripley
I think I am missing something in getting dlltool to work 32-bit in a multilib build (and I've tried a few, most recently TDM's gcc-4.5.2). It seems I need dlltool -m i386 but also to select a 32-bit assembler (or some of the output is pe-x86-64): what I had expected might work is dlltool -m