Error argument list is too long when running Makefile

141 Views Asked by At

Error occur on linking to create static library use ar with many object files

/bin/sh: /mingw64/bin/ar: Argument list too long

I am on windows using msys2 when build them. I am tried to copy its command to cmd. The result is error because the command is too long. It didnt work on Rakefile in ruby too with error 127. The question is am i should update the ar? Because the problem is in ar not sh

0

There are 0 best solutions below