I am using a standalone SDK and have created a BSP targeting the PowerPC, however, the following error occurs when I attempt to compile:
Running libs - 'make -s libs "COMPILER=powerpc-eabi-gcc"
"ARCHIVER=powerpc-eabi-ar" "COMPILER_FLAGS=-mcpu=440 -O2 -c"
"EXTRA_COMPILER_FLAGS=-g"'.
"Compiling common"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling llfifo"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include xllfifo.c xstreamer.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling lldma"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling standalone"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [standalone_libs] Error 2
rm: cannot lstat `*.o': Invalid argument
make[1]: *** [clean] Error 1
make[1]: Target `libs' not remade because of errors.
"Compiling lltemac"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling llfifo"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include xllfifo.c xstreamer.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling uartlite"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling bram"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling intc"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling tmrctr"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
"Compiling cpu_ppc440"
process_begin: CreateProcess(NULL, powerpc-eabi-gcc -mcpu=440 -O2 -c -g -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified. make[1]: *** [libs] Error 2
ERROR:EDK - make failed for target "libs"
ERROR:EDK - Error(s) while running make.
make: *** [ppc440_0/lib/libxil.a] Error 2
make: Target `all' not remade because of errors. 10:42:01 Build Finished (took 8s.0ms)
How can I address this issue?
PowerPC support is only available when using the ISE+SDK installation. PowerPC support is not available in standalone SDK.
To work around this, copy the patch at the end of this answer record, and place it into the "gnu" folder in the SDK install directory.
文件名 | 文件大小 | File Type |
---|---|---|
powerpc-eabi.7z | 16 MB | 7Z |
AR# 57113 | |
---|---|
日期 | 11/01/2013 |
状态 | Active |
Type | 综合文章 |
器件 | |
Tools |