creating a dll using a static library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux