https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90443

            Bug ID: 90443
           Summary: -flto=n on Windows results in CreateProcess: No such
                    file or directory
           Product: gcc
           Version: 9.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hoganmeier at gmail dot com
  Target Milestone: ---

Just using a dummy source:
extern "C"
void _start()
{}

$ arm-none-eabi-g++ -O3 -flto=2 main.cpp -nostdlib -o firmware.elf -v
lto-wrapper.exe: fatal error: CreateProcess: No such file or directory

Very unhelpful. -v lifts the curtain:

make -f Temp\ccwaSVX1.mk -j2 all
lto-wrapper.exe: fatal error: CreateProcess: No such file or directory

There is no make, esp. in arm-gcc distributions.
The error message should be improved.

Reply via email to