Skip to content

Instantly share code, notes, and snippets.

@abuiles
Created April 6, 2010 16:25
Show Gist options
  • Save abuiles/357777 to your computer and use it in GitHub Desktop.
Save abuiles/357777 to your computer and use it in GitHub Desktop.
nasm -f elf matrix.asm -g
gcc -shared matrix.o -o libmatrix.so
sudo rm /usr/local/lib/libmatrix.so
sudo rm /usr/lib/libmatrix.so
sudo rm /usr/include/matrix.h
sudo rm /usr/local/include/matrix.h
sudo cp libmatrix.so /usr/local/lib/
sudo cp libmatrix.so /usr/lib/
sudo cp matrix.h /usr/include/
sudo cp matrix.h /usr/local/include/
gcc operaciones.c -lmatrix -std=c99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment