a small example using the public domain library LibTomMath, I may not have declared all the functions but it's enough to test out.
the sourcecode can be found here http://libtom.org/
I compiled the the code with gcc as follows
then to create the dll use the following commandgcc -c -O3 *.c
gcc -shared -o libtom.dll *.o
Bookmarks