Code:
make rebuild run
cd ../ && make --no-print-directory rebuild run
#MAKECMDGOALS=rebuild run
cd mak && make -j 1 --no-print-directory -f main.mak rebuild run
PRJ_LIB_NAME=alu
Checking 3rd Party libraries are upto date
cd '../cloned/unic' && git config pull.rebase false && git pull
Finished checking
PRJ_DST_BIN=test_alu.AppImage
PRJ_DST_LIB=libalu.so
rm -f ../bin/*.AppImage ../bin/*.exe
rm -f ../lib/*.so ../lib/*.dll
rm -f ../src/*.o ../src/*.obj
rm -f ../tests/*.o ../tests/*.obj
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_bit.o -c ../src/alu_bit.c
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_fpn.o -c ../src/alu_fpn.c
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_int.o -c ../src/alu_int.c
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_main.o -c ../src/alu_main.c
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_math.o -c ../src/alu_math.c
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_mem.o -c ../src/alu_mem.c
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_uint.o -c ../src/alu_uint.c
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../src/alu_vec.o -c ../src/alu_vec.c
cc -D NDEBUG -fPIC -shared -o ../lib/libalu.so ../src/alu_bit.o ../src/alu_fpn.o ../src/alu_int.o ../src/alu_main.o ../src/alu_math.o ../src/alu_mem.o ../src/alu_uint.o ../src/alu_vec.o -Wl,-rpath,../lib
cc -D NDEBUG -fPIC -Wall -Wextra -pedantic -I ../cloned/unic/include -I ../include -o ../tests/test_alu.o -c ../tests/test_alu.c
cc -D NDEBUG -fPIE -L ../lib -o ../bin/test_alu.AppImage ../tests/test_alu.o -Wl,-rpath,../lib -l alu
../bin/test_alu.AppImage
../tests/test_alu.c:919: main() Pre-allocating 64 ALU registers...
../tests/test_alu.c:369: bitwise() 'Checking Bitwise Operations...'
../tests/test_alu.c:370: bitwise() '==========================================='
../tests/test_alu.c:196: modify() ~0x00000000DEADC0DE, Expected 0xFFFFFFFF21523F21, Got 0x0000000000000000, op = '~'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE & 0x0000000000C0FFEE, Expected 0x000000000080C0CE, Got 0x0000000000000000, op = '&'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE | 0x0000000000C0FFEE, Expected 0x00000000DEEDFFFE, Got 0x0000000000000000, op = '|'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE ^ 0x0000000000C0FFEE, Expected 0x00000000DE6D3F30, Got 0x0000000000000000, op = '^'
../tests/test_alu.c:386: bitwise() 'Shifting values...'
../tests/test_alu.c:387: bitwise() '==========================================='
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE << 0x0000000000000004, Expected 0x0000000DEADC0DE0, Got 0x0000000000000000, op = '<'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE >> 0x0000000000000004, Expected 0x000000000DEADC0D, Got 0x0000000000000000, op = '>'
../tests/test_alu.c:403: bitwise() 'Rotating values...'
../tests/test_alu.c:404: bitwise() '==========================================='
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE <<< 0x0000000000000004, Expected 0x0000000DEADC0DE0, Got 0x0000000000000000, op = 'l'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE >>> 0x0000000000000004, Expected 0xE00000000DEADC0D, Got 0x0000000000000000, op = 'r'
../tests/test_alu.c:429: mathmatical() 'Checking Mathematic Operations...'
../tests/test_alu.c:430: mathmatical() '==========================================='
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE--, Expected 0x00000000DEADC0DD, Got 0x0000000000000000, op = 'd'
rm ../src/alu_math.o ../tests/test_alu.o ../src/alu_main.o ../src/alu_uint.o ../src/alu_mem.o ../src/alu_int.o ../src/alu_bit.o ../src/alu_vec.o ../src/alu_fpn.o
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE - 0x0000000000000BAD, Expected 0x00000000DEADB531, Got 0x0000000000000000, op = '-'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE / 0x0000000000000BAD, Expected 0x0000000000131264, Got 0x0000000000000000, op = '/'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE % 0x0000000000000BAD, Expected 0x000000000000074A, Got 0x0000000000000000, op = '%'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22--, Expected 0xFFFFFFFF21523F21, Got 0x0000000000000000, op = 'd'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22 - 0x0000000000000BAD, Expected 0xFFFFFFFF21523375, Got 0x0000000000000000, op = '-'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22 / 0x0000000000000BAD, Expected 0xFFFFFFFFFFECED9C, Got 0x0000000000000000, op = '/'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22 % 0x0000000000000BAD, Expected 0xFFFFFFFFFFFFF8B6, Got 0x0000000000000000, op = '%'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22--, Expected 0xFFFFFFFF21523F21, Got 0x0000000000000000, op = 'd'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22 - 0xFFFFFFFFFFFFF453, Expected 0xFFFFFFFF21524ACF, Got 0x0000000000000000, op = '-'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22 / 0xFFFFFFFFFFFFF453, Expected 0x0000000000131264, Got 0x0000000000000000, op = '/'
../tests/test_alu.c:196: modify() 0xFFFFFFFF21523F22 % 0xFFFFFFFFFFFFF453, Expected 0xFFFFFFFFFFFFF8B6, Got 0x0000000000000000, op = '%'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE--, Expected 0x00000000DEADC0DD, Got 0x0000000000000000, op = 'd'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE - 0x0000000000000000, Expected 0x00000000DEADC0DE, Got 0x0000000000000000, op = '-'
../tests/test_alu.c:196: modify() 0x00000000DEADC0DE % 0x0000000000000000, Expected 0x00000000DEADC0DE, Got 0x0000000000000000, op = '%'
../tests/test_alu.c:810: print_value() 'Printing values...'
../tests/test_alu.c:811: print_value() '==========================================='
../tests/test_alu.c:564: reg_print_value() 'Testing alu_lit2reg() & alu_reg2str()'
../tests/test_alu.c:565: reg_print_value() '-------------------------------------'
../tests/test_alu.c:601: reg_print_value() Expected = '123', Got = '123'
../tests/test_alu.c:624: uint_print_value() 'Testing alu_str2uint() & alu_uint2str()'
../tests/test_alu.c:625: uint_print_value() '---------------------------------------'
../tests/test_alu.c:638: uint_print_value() Error 0xFFFFFFFF -1 'Unknown error -1'
../tests/test_alu.c:856: print_value() Error 0xFFFFFFFF -1 'Unknown error -1'
../tests/test_alu.c:962: main() Error 0xFFFFFFFF -1 'Unknown error -1'
make[2]: *** [main.mak:95: test] Error 1
make[1]: *** [makefile:10: rebuild] Error 2
make: *** [makefile:4: rebuild] Error 2
Compilation failed.
Not against you helping me find why the math broken also, not gonna get my hopes up on that one though, I'll return to trying to fix them after doing some quick shopping, gives peops a chance to have a look if they're so inclined