compiler error error 193

Asked 2 years ago, Updated 2 years ago, 73 views

Compiler Arch64

makefile

start.o:start.S
    aarch64-elf-gcc$(CFLAGS)-c start.S-o start.o

error output

 aarch64-elf-gcc-Wall-O2-ffrestanding-nostdinc-nostdlib-nostartfiles-c start.S-o start.o
process_begin —CreateProcess(C:\rpi-eclipse\gcc-linaro-7.3.1-2018.05-i686_aarch64-elf\bin\aarch64-elf-gcc, arch64-elf-gcc-Wall-O2-frestanding-nostdinc-nostdlib-start files-start.osta) ...
make(e=193)—Error 193
make:*** [start.o] Error 193

Compiler error appears.
Estimates indicate that the assembly file compilation is 64-bit compatible.

windows c

2022-09-30 21:35

1 Answers

If CreateProcess returns 193, it means ERROR_BAD_EXE_FORMAT, which is not a valid executable for Windows.
I don't know how you built your environment because it's not in the questionnaire, but please review it.


2022-09-30 21:35

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.