|
From: Gilles D. <Gil...@wa...> - 2003-05-30 11:23:43
|
Hi,
Le mercredi, 28 mai 2003, =E0 22:51 Europe/Paris, Danny Smith a =E9crit =
:
> --- Gilles Depeyrot <Gil...@wa...> wrote: > Hi,
>>
>> gcc.exe -shared -Wl,--out-implib,libfoo.a -o foo.dll foo.o
>> Error: 0-bit reloc in dll
>>
>> Any idea what I should look for to work around this issue?
>>
> Did you use -r (or --relocateable) to construct the object?
> What version of ld?
>
> The -r bug should be fixed in latest relwase candidade of binutils.
I was not using the -r option (was not even aware of it :-) but adding
it when building the object doesn't seem to make any difference.
I am using:
gcc.exe (GCC) 3.2.3 (mingw special 20030504-1)
GNU ld version 2.13.90 20030111
Best regards,
Gilles
--=20
Gilles Depeyrot <mailto:Gil...@wa...>
<http://perso.wanadoo.fr/gilles.depeyrot>
|