Dnia wtorek, 29 sierpnia 2006 10:37, TongKe Xue napisał: > If I make module.o into libmodule.a and then link libmodule.a, the > function does not get called.
use -Wl,-whole-archive (man ld)
Dnia wtorek, 29 sierpnia 2006 10:37, TongKe Xue napisał: > If I make module.o into libmodule.a and then link libmodule.a, the > function does not get called.
use -Wl,-whole-archive (man ld)