Using MinGW to compile C code, but error liblto_plugin-0.dll not found?

sintakartika picture sintakartika · Jun 28, 2012 · Viewed 7.3k times · Source

I'm using MinGW to compile C code. but when I give command "make", appear error : gcc.exe : fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found compilation terminated. make: * [all] Error 1. Does anybody know how to solve it?

Answer

besabestin picture besabestin · Aug 4, 2013

though a long time since asked, I faced the same issue and I found a fine workaround when compiling.

gcc -fno-use-linker-plugin test.cpp -o test