Hi I don't know how to get around the problem. I add commands to ar.exe. GCC: (GNU) 13.0.1 20230421 (prerelease) msystem.waw.pl http://msystem.waw.pl/x265/mingw-gcc1301-20230421.7z Codec directories libxeve libxeve/avx2 libxeve/sse2 cd libavcodec/libxeve ar.exe rcs "../../lib/libxeve_x64.a" xeve_bsw.o xeve_df.o xeve_eco.o xeve_enc.o xeve_fcst.o xeve_ipred.o xeve_itdq.o xeve_mc.o xeve_mode.o xeve_param_parse.o xeve_picman.o xeve_pinter.o xeve_pintra.o xeve_port.o xeve_rc.o xeve_recon.o xeve_sad.o xeve_tbl.o xeve_thread_pool.o xeve_tq.o xeve_util.o xevem.o xevem_alf.o xevem_df.o xevem_dra.o xevem_eco.o xevem_ibc_hash.o xevem_ipred.o xevem_itdq.o xevem_mc.o xevem_mode.o xevem_pibc.o xevem_picman.o xevem_pinter.o xevem_pintra.o xevem_recon.o xevem_stat.o xevem_tbl.o xevem_tq.o xevem_util.o cd ../.. I meant why the .a file automatically adds and compiles c files from the avx2 and sse2 directories that I have not added. Lucas