headius/ruby-atomic — Issue #8: Compiling on windows
Author: stakach
Created: 2011-10-27 01:55:16+00:00
State: open

Using dev kit (gcc 4.5) it spits out

C:\Ruby\lib\ruby\gems\1.9.1\gems\atomic-0.0.6\ext/atomic_reference.c:38: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make: *** [atomic_reference.so] Error 1

This is probably due to the target processor being too low. GXX_FLAGS=-march=i686