-
1make all
top level just
make || make allDEPENDENCIES
- MAKE
- GCC
- STDLIB
- TESTED ON X86_64 AND ARM CORTEZ A78 (TERMUX ON MY PHONE PIXEL 7 PRO) BUT IF YOU GOT ANYTHING ELSE IT WILL WORK FINE MOST LIKELY
make or make all should work on x86_64 Linux systems that have GCC and make no dependencies besides the test.sh needs bash and the math_bm needs math.h. CORDIC_CAL needs stdio.h and strin byg.h . the project as a whole needs stdint.h so all std lib and the math.h iës just to get something to show speed of in comparison not for any of the functions in the lib and all the stdio and strings are also for demo programs CORDIC_CAL to_float to_fix and cordic_bm math_bm
-
2CD TO build/x86_64
cd build/x86_64this is where both the static libs libfixpnt.a libCORDIC.a and all executable ./CORDIC_CAL ./to_float ./to_fix ./test.sh ./cordic_bm ./math_bm. This is just if you want to run them without installing and you can put the excutables anywhere in path to install INSTALL.sh or make install installs them to ~/.local/sbin
-
3INSTALL.sh
./INSTALL.sh
installs everything to ~/.local/ lib ~/.local/sbin/ for excusables ~/.local/include/ header files ~/.local/lib/ for libfixpnt.a and libCORDIC.a also puts ~/,local/sbin on your path at least temporarily
-
4Step 4
EARL T
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.