Skip to content

Instantly share code, notes, and snippets.

@OpenGamma-Blog
Created May 24, 2012 13:42
Show Gist options
  • Save OpenGamma-Blog/2781613 to your computer and use it in GitHub Desktop.
Save OpenGamma-Blog/2781613 to your computer and use it in GitHub Desktop.
JNI Example 2 - OpenGamma
gcc -cpp -O3 -fPIC -o <lib name>.so -shared -Wl,-soname,<lib name>.so -I . -I ${JAVAROOT}/include/ -I ${JAVAROOT}/include/linux/ <file name>.c -l<BLAS lib name> -l<LAPACK lib name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment