Thanks everyone, I found the answer.
Basically, you can simply link to libgcc.a / libgcc.lib
which was used when building the library.
The more convenient way that deals with the ___chkstk
problem only means doing something like ar x libgcc.a
(which produces many .o files) and then merging your libbz2
object files with __chkstk.o
file.
HardCoder1986
2010-08-21 11:11:49