Compilation and Installation
Procedure
- Download the sse2neon header file.
cd /path/to/wtdbg2 wget https://github.com/jratcliff63367/sse2neon/archive/master.zip -O sse2neon-master.zip unzip sse2neon-master.zip mv ./sse2neon-master/SSE2NEON.h ./sse2neon-master/sse2neon.h
- Import the sse2neon header file to the installation directory.
cp ./sse2neon-master/sse2neon.h ./wtdbg2
- Modify Makefile.
vim Makefile
Before:

After:

Replace the example path /path/to/wtdbg2 with the actual one.
- Modify ksw.c.
vim ksw.c
Before:

After:

- Modify poacns.h.
vim poacns.h
Before:


After:


- Create an installation directory.
mkdir bin
- Perform the installation.
make make install
Parent topic: wtdbg2 2.5 Porting Guide (Kylin V10)