PDA

View Full Version : LibTom example



jack
06-06-2011, 15:54
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


gcc -c -O3 *.c

then to create the dll use the following command


gcc -shared -o libtom.dll *.o

matthew
14-06-2011, 14:03
I like how you compiled this, I usually try & use the makefile & get in a complete mess. :)