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
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
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
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
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
>
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