Since setting AR
and AR_FLAGS
won't work, the only easy solution (that I haven't tried) is CCCL which wraps up cl.exe
and link.exe
for a neater interface to those programs for autoconf packages. It looks kind of old now, but it might work.
The installation instructions assume that CC
/CXX
are going to be cl.exe
, but you're probably using GCC. In that case, probably AR=cccl
needs to be an argument to configure
.