Page 1 of 1

ChibiStudio - Problem of compile PowerPC project

Posted: Tue Aug 09, 2016 9:30 am
by oldchuo
Dear all,

I try to compile the demo project of RT-SPC563M-EVB, but there are some error:

make -j2 all
Compiler Options
ppc-vle-gcc -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=build/lst/ -DPPC_USE_VLE=1 -MD -MP -MF .dep/build.d -I. -I../../../os/common/ports/e200/compilers/GCC -I../../../os/common/ports/e200/devices/SPC563Mxx -I../../../os/rt/include -I../../../os/rt/ports/e200 -I../../../os/rt/ports/e200/compilers/GCC -I../../../os/hal/osal/rt -I../../../os/hal/include -I../../../os/hal/ports/SPC5/SPC563Mxx -I../../../os/hal/ports/SPC5/SPC5xx/DSPI_v1 -I../../../os/hal/ports/SPC5/SPC5xx/EDMA_v1 -I../../../os/hal/ports/SPC5/SPC5xx/EQADC_v1 -I../../../os/hal/ports/SPC5/SPC5xx/eMIOS200_v1 -I../../../os/hal/ports/SPC5/SPC5xx/FlexCAN_v1 -I../../../os/hal/ports/SPC5/SPC5xx/ESCI_v1 -I../../../os/hal/ports/SPC5/SPC5xx/SIU_v1 -I../../../os/hal/ports/SPC5/SPC5xx/STM_v1 -I../../../os/hal/boards/ST_EVB_SPC563M -I../../../test/rt -I../../../os/hal/lib/streams -I../../../os/various main.c -o main.o

Compiling boot.s
Compiling vectors.s

process_begin: CreateProcess(NULL, ppc-vle-gcc -x assembler-with-cpp -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -Wa,-amhls=build/lst/boot.lst -DPPC_USE_VLE=1 -MD -MP -MF .dep/boot.o.d -I. -I../../../os/common/ports/e200/compilers/GCC -I../../../os/common/ports/e200/devices/SPC563Mxx -I../../../os/rt/include -I../../../os/rt/ports/e200 -I../../../os/rt/ports/e200/compilers/GCC -I../../../os/hal/osal/rt -I../../../os/hal/include -I../../../os/hal/ports/SPC5/SPC563Mxx -I../../../os/hal/ports/SPC5/SPC5xx/DSPI_v1 -I../../../os/hal/ports/SPC5/SPC5xx/EDMA_v1 -I../../../os/hal/ports/SPC5/SPC5xx/EQADC_v1 -I../../../os/hal/ports/SPC5/SPC5xx/eMIOS200_v1 -I../../../os/hal/ports/SPC5/SPC5xx/FlexCAN_v1 -I../../../os/hal/ports/SPC5/SPC5xx/ESCI_v1 -I../../../os/hal/ports/SPC5/SPC5xx/SIU_v1 -I../../../os/hal/ports/SPC5/SPC5xx/STM_v1 -I../../../os/hal/boards/ST_EVB_SPC563M -I../../../test/rt -I../../../os/hal/lib/streams -I../../../os/various ../../../os/common/ports/e200/devices/SPC563Mxx/boot.s -o build/obj/boot.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [build/obj/boot.o] Error 2
make: *** Waiting for unfinished jobs....
process_begin: CreateProcess(NULL, ppc-vle-gcc -x assembler-with-cpp -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -Wa,-amhls=build/lst/vectors.lst -DPPC_USE_VLE=1 -MD -MP -MF .dep/vectors.o.d -I. -I../../../os/common/ports/e200/compilers/GCC -I../../../os/common/ports/e200/devices/SPC563Mxx -I../../../os/rt/include -I../../../os/rt/ports/e200 -I../../../os/rt/ports/e200/compilers/GCC -I../../../os/hal/osal/rt -I../../../os/hal/include -I../../../os/hal/ports/SPC5/SPC563Mxx -I../../../os/hal/ports/SPC5/SPC5xx/DSPI_v1 -I../../../os/hal/ports/SPC5/SPC5xx/EDMA_v1 -I../../../os/hal/ports/SPC5/SPC5xx/EQADC_v1 -I../../../os/hal/ports/SPC5/SPC5xx/eMIOS200_v1 -I../../../os/hal/ports/SPC5/SPC5xx/FlexCAN_v1 -I../../../os/hal/ports/SPC5/SPC5xx/ESCI_v1 -I../../../os/hal/ports/SPC5/SPC5xx/SIU_v1 -I../../../os/hal/ports/SPC5/SPC5xx/STM_v1 -I../../../os/hal/boards/ST_EVB_SPC563M -I../../../test/rt -I../../../os/hal/lib/streams -I../../../os/various ../../../os/common/ports/e200/compilers/GCC/vectors.s -o build/obj/vectors.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [build/obj/vectors.o] Error 2

I found the two files in the correct path. I compile an ARM demo and there is no error.

I just install ChibiStudio, and did not install some other compiler and update cdt of eclipse.

Is the problem no PowerPC gcc compiler intalled?

Thanks!

Best Regards
oldchuo

Re: ChibiStudio - Problem of compile PowerPC project

Posted: Tue Aug 09, 2016 9:43 am
by Giovanni
Hi,

You also need the HighTec compiler.

Giovanni

Re: ChibiStudio - Problem of compile PowerPC project

Posted: Wed Aug 10, 2016 1:58 am
by oldchuo
Thanks, Giovanni.

If so, I will try to do some work about CW.

oldchuo