Openblas: how can i build a static dll ?

Created on 2 May 2017  路  4Comments  路  Source: xianyi/OpenBLAS

how can i build a static dll ?
ineed to build libgcc_s_dw2-1.dll, libgfortran-3.dll and libquadmath-0.dll into the libopenblas.dll with the gcc static compiler?
i use the command:
make BINARY=32 DYNAMIC_ARCH=1

where to add the -static option?

Most helpful comment

Try providing your own CFLAGS, something like
make CFLAGS='-O2 -static -static-libgcc'

All 4 comments

Try providing your own CFLAGS, something like
make CFLAGS='-O2 -static -static-libgcc'

dll is meant to be dynamic, first letter says it.
You can skip fortran library dependency by not building lapack or hiding gfortran compiler.

thanks

Can you close the issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nh2 picture nh2  路  9Comments

jakirkham picture jakirkham  路  16Comments

aytekinar picture aytekinar  路  10Comments

boegel picture boegel  路  5Comments

winpassuser picture winpassuser  路  8Comments