Thanks. That workedMichel wrote:Correct!T2: Not SSE4. floor() is a <cmath> function so requires -lm. pthread_join() and pthread_create() are <pthread.h> functions so rquires -lpthread and probably -pthread. dl_close(), dl_open() and dl_sym() are <dl.h> functions, and will probably (this depends on system) require -ldl.
Sorry that the makefiles did not work. This is quite weird. I probably used something like
g++ *.cpp -O2 -ldl -lpthread -lm -otoga
to compile (this was several years ago).
Code: Select all
g++ *.cpp -O3 -flto -fno-rtti -fno-exceptions -ldl -lpthread -lm -o ./toga