http://factorcode.org/
I am using the command
Code: Select all
#make linux
but getting a level 2 error
Code: Select all
# make linux
make f \
CFLAGS="-Wall -O3 -ffast-math -fomit-frame-pointer -export-dynamic" \
LIBS="-ldl -lm"
make[1]: Entering directory `/mnt/home/my-documents/factor/Factor'
gcc -c -Wall -O3 -ffast-math -fomit-frame-pointer -export-dynamic -o native/array.o native/array.c
native/array.c: In function `resize_array':
native/array.c:69: error: unable to find a register to spill in class `SIREG'
native/array.c:69: error: this is the insn:
(insn:HI 80 79 81 2 0x40473c08 (parallel [
(set (reg:SI 2 ecx [75])
(const_int 0 [0x0]))
(set (reg/f:SI 5 edi [73])
(plus:SI (ashift:SI (reg:SI 2 ecx [75])
(const_int 2 [0x2]))
(reg/f:SI 5 edi [73])))
(set (reg/f:SI 0 eax [74])
(plus:SI (ashift:SI (reg:SI 2 ecx [75])
(const_int 2 [0x2]))
(reg/f:SI 0 eax [74])))
(set (mem:BLK (reg/f:SI 5 edi [73]) [0 A32])
(mem:BLK (reg/f:SI 0 eax [74]) [0 A32]))
(use (reg:SI 2 ecx [75]))
(use (reg:SI 19 dirflag))
]) 451 {rep_movsi} (insn_list 74 (insn_list 75 (insn_list 78 (insn_list 79 (nil)))))
(expr_list:REG_DEAD (reg:SI 19 dirflag)
(expr_list:REG_UNUSED (reg:SI 2 ecx [75])
(expr_list:REG_UNUSED (reg/f:SI 5 edi [73])
(expr_list:REG_UNUSED (reg/f:SI 0 eax [74])
(nil))))))
native/array.c:69: confused by earlier errors, bailing out
make[1]: *** [native/array.o] Error 1
make[1]: Leaving directory `/mnt/home/my-documents/factor/Factor'
make: *** [linux] Error 2
Could that have anything to do with it?"Note that on x86 systems, Factor _cannot_ be compiled with gcc 3.3. This
is due to a bug in gcc and there is nothing we can do about it. Please
use gcc 2.95, 3.4, or 4.0."