|
From: <dan...@ya...> - 2003-05-28 20:51:46
|
--- Gilles Depeyrot <Gil...@wa...> wrote: > Hi, > > I am having a problem when creating a dll from a (rather) large object > file. The (generated) source file that is compiled is 2.8 Mb. > Compilation works fine but linking the dll gives the following error > (with any gcc version since the one releases in Mingw 2): > > 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. Danny > Thanks for your help, > > Best regards, > Gilles > > -- > Gilles Depeyrot <mailto:Gil...@wa...> > <http://perso.wanadoo.fr/gilles.depeyrot> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. |