c4ev3 / C4EV3.Toolchain

Recent GCC cross-compilers for the stock EV3
https://github.com/c4ev3/toolchain/releases
4 stars 1 forks source link

Windows: CreateProcess: No such file or directory #1

Open a3f opened 6 years ago

a3f commented 6 years ago

2018-05-15 Cross-Toolchain for Windows doesn't work. Tested by @malinnikov on the Gitter channel.

With just the toolchain's bin/ directory in PATH:

Pavel Malinnikov @malinnikov_twitter 16:01
>arm-c4ev3-linux-gnueabi-gcc-8.1.0.exe main.cpp -Os -v -static-libstdc++ -o cpptest.elf
Using built-in specs.
COLLECT_GCC=arm-c4ev3-linux-gnueabi-gcc-8.1.0.exe
Target: arm-c4ev3-linux-gnueabi
Configured with: ../gcc-8.1.0/configure --prefix=/opt/cross-mingw --target=arm-c4ev3-linux-gnueabi --disable-nls --host=i686-w64-mingw32 --program-prefix=arm-c4ev3-linux-gnueabi- --with-pkgversion='GCC for c4ev3 2018-05-15' --with-bugurl=https://github.com/c4ev3/toolchain --enable-languages=c,c++ : (reconfigured) ../gcc-8.1.0/configure --prefix=/opt/cross-mingw --target=arm-c4ev3-linux-gnueabi --disable-nls --host=i686-w64-mingw32 --program-prefix=arm-c4ev3-linux-gnueabi- --with-pkgversion='GCC for c4ev3 2018-05-15' --with-bugurl=https://github.com/c4ev3/toolchain --enable-languages=c,c++
Thread model: posix
gcc version 8.1.0 (GCC for c4ev3 2018-05-15)
COLLECT_GCC_OPTIONS='-Os' '-v' '-static-libstdc++' '-o' 'cpptest.elf' '-mcpu=arm10tdmi' '-mtls-dialect=gnu' '-marm' '-march=armv5t' cc1plus -quiet -v -iprefix c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-c4ev3-linux-gnueabi/8.1.0/ -D_GNU_SOURCE main.cpp -quiet -dumpbase main.cpp -mcpu=arm10tdm i -mtls-dialect=gnu -marm -march=armv5t -auxbase main -Os -version -o C:\Users\PAVELM~1\AppData\Local\Temp\ccym9FLQ.s
arm-c4ev3-linux-gnueabi-gcc-8.1.0.exe: error: CreateProcess: No such file or directory

When adding the directory where cc1 and cc1plus are located, the error message changes a bit, but with same outcome:


C:\Users\Pavel Malinnikov\CLionProjects\Cobra>arm-c4ev3-linux-gnueabi-gcc main.cpp -Os -v -static-libstdc++ -o cpptest.elf
Using built-in specs.
COLLECT_GCC=arm-c4ev3-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=c:/program\ files\ (x86)/c4ev3/bin/../libexec/gcc/arm-linux-gnueabi/8.1.0/lto-wrapper.exe
Target: arm-linux-gnueabi
Configured with: ../gcc-8.1.0/configure --prefix=/opt/cross-mingw --target=arm-linux-gnueabi --disable-nls --host=i686-w64-mingw32 --program-prefix=arm-c4ev3-linux-gn
ueabi- --with-pkgversion='GCC for c4ev3 2018-05-15' --with-bugurl=https://github.com/c4ev3/toolchain --enable-languages=c,c++
Thread model: posix
gcc version 8.1.0 (GCC for c4ev3 2018-05-15)
COLLECT_GCC_OPTIONS='-Os' '-v' '-static-libstdc++' '-o' 'cpptest.elf' '-mcpu=arm10tdmi' '-mtls-dialect=gnu' '-marm' '-march=armv5t'
 c:/program files (x86)/c4ev3/bin/../libexec/gcc/arm-linux-gnueabi/8.1.0/cc1plus.exe -quiet -v -iprefix c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/
8.1.0/ -D_GNU_SOURCE main.cpp -quiet -dumpbase main.cpp -mcpu=arm10tdmi -mtls-dialect=gnu -marm -march=armv5t -auxbase main -Os -version -o C:\Users\PAVELM~1\AppData\
Local\Temp\ccgyDxdP.s
GNU C++14 (GCC for c4ev3 2018-05-15) version 8.1.0 (arm-linux-gnueabi)
        compiled by GNU C version 7.2.0 20170814 (Fedora MinGW 7.2.0-1.fc27), GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/sys-include"
ignoring duplicate directory "c:/program files (x86)/c4ev3/lib/gcc/../../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include/c++/8.1.0"
ignoring duplicate directory "c:/program files (x86)/c4ev3/lib/gcc/../../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include/c++/8.1.0/arm-linux-gnu
eabi"
ignoring duplicate directory "c:/program files (x86)/c4ev3/lib/gcc/../../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include/c++/8.1.0/backward"
ignoring duplicate directory "c:/program files (x86)/c4ev3/lib/gcc/../../lib/gcc/arm-linux-gnueabi/8.1.0/include"
ignoring duplicate directory "c:/program files (x86)/c4ev3/lib/gcc/../../lib/gcc/arm-linux-gnueabi/8.1.0/include-fixed"
ignoring nonexistent directory "c:/program files (x86)/c4ev3/lib/gcc/../../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/sys-include"
ignoring duplicate directory "c:/program files (x86)/c4ev3/lib/gcc/../../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include"
#include "..." search starts here:
#include <...> search starts here:
 c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include/c++/8.1.0
 c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include/c++/8.1.0/arm-linux-gnueabi
 c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include/c++/8.1.0/backward
 c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/8.1.0/include
 c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/8.1.0/include-fixed
 c:\program files (x86)\c4ev3\bin\../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/include
End of search list.
GNU C++14 (GCC for c4ev3 2018-05-15) version 8.1.0 (arm-linux-gnueabi)
        compiled by GNU C version 7.2.0 20170814 (Fedora MinGW 7.2.0-1.fc27), GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0b784bacf2447f58cea7d975765b6fd0
COLLECT_GCC_OPTIONS='-Os' '-v' '-static-libstdc++' '-o' 'cpptest.elf' '-mcpu=arm10tdmi' '-mtls-dialect=gnu' '-marm' '-march=armv5t'
 c:/program files (x86)/c4ev3/bin/../lib/gcc/arm-linux-gnueabi/8.1.0/../../../../arm-linux-gnueabi/bin/as.exe -v -march=armv5t -meabi=5 -o C:\Users\PAVELM~1\AppData\L
ocal\Temp\ccc2MG4P.o C:\Users\PAVELM~1\AppData\Local\Temp\ccgyDxdP.s
arm-c4ev3-linux-gnueabi-gcc: error: CreateProcess: No such file or directory