https://sourceware.org/bugzilla/show_bug.cgi?id=13557
--- Comment #13 from LRN <lrn1986 at gmail dot com> --- Probably unrelated: initially lto-wrapper (ran by gcc when linking main.exe) bailed with error "lto-wrapper: CreateProcess: No such file or directory". This is because lto-wrapper tries to spawn a "gcc" process (likely taken from $COLLECT_GCC), and it only searches in PATH (and maybe the directory where lto-wrapper is located, but gcc.exe isn't there). I fixed this by adding the bin directory (where gcc.exe is) to the PATH. This directory is *usually* in PATH (for obvious reasons) but i don't remember this being a strict requirement, and everything works just fine unless LTO is involved. This hasn't been mentioned so far, so here it is, for completeness' sake. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils