Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 8, 2024
1 parent d777b55 commit 5e18bf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ sifdecoder_standalone -qp ROSENBR.SIF # decode the SIF problem in quadruple pre
Then, you can create either a shared or a static library for your problem
using a Fortran compiler, such as `gfortran`.
```shell
gfortran -shared -fPIC -o libROSENBR.so *.f # shared library on Linux and FreeBSD
gfortran -shared -fPIC -o libROSENBR.dll *.f # shared library on Windows
gfortran -shared -fPIC -o libROSENBR.dylib *.f # shared library on Mac
gfortran -O3 -shared -fPIC -o libROSENBR.so *.f # shared library on Linux and FreeBSD
gfortran -O3 -shared -fPIC -o libROSENBR.dll *.f # shared library on Windows
gfortran -O3 -shared -fPIC -o libROSENBR.dylib *.f # shared library on Mac

gfortran -c *.f # generate object files *.o
gfortran -O3 -c *.f # generate object files *.o
ar rcs libmylibrary.a *.o # static library on all platform
```

Expand Down

0 comments on commit 5e18bf4

Please sign in to comment.