why don't you try -lRmath ? Saludos! Â ÂÂ Juan On Fri, Mar 18, 2011 at 9:25 AM, Luc MOULINIER <moumou@xxxxxxxx> wrote: > Hello ! > > I try to create a dynamic library, say toto.dll, using a static library, say libRmath.a. When loading the toto.dll library, an error occurs asking me for the libRmath.a library. > The compilation is done as : > gcc -shared toto.dll f1.o f2.o f3.o -L/c/tcl/lib -ltclstub86 -L. libRmath.a > on Windows, MinGW and gcc 4.5.2 > > Can soneone tell me what is wrong in my compilation ? > > Many thanks in advance ! > Luc > > > > ---------------------------------------------------------------- > Dr. Luc Moulinier, > Laboratoire de Biologie et GÃnomique IntÃgratives > IGBMC > 1, rue Laurent Fries > 67 404 ILLKIRCH Cedex > Phone : +33 (0)3 88 65 32 79 > ---------------------------------------------------------------- >