AnsweredAssumed Answered

error: unrecognized argument in option '-mcpu=e200zx'

Question asked by Zhang Lei on Nov 27, 2017
Latest reply on Nov 27, 2017 by Clive Two.Zero

I use the SPC5 Studio 5.6 to open an old project and get the following error.

08:20:06 **** Build of configuration Default for project BZW111A_CAT_MHE_Gamma ****
make all
Compiler Options
ppc-freevle-eabi-gcc -c -mcpu=e200zx -meabi -msdata=none -mnew-mnemonics -mregnames -mvle -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -mno-spe -msoft-float -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/ -DPPC_USE_VLE=1 -MD -MP -MF .dep/build.d -I. -I./components/spc560pxx_platform_component_rla/lib/include -I./components/spc560pxx_irq_component_rla/lib/include -I./components/eeprom_emulation_driver/lib/include -I./components/spc560pxx_platform_component_rla/cfg -I./components/spc560pxx_irq_component_rla/cfg -I./components/eeprom_emulation_driver/cfg -I./source/ -I./source/Config/ -I./source/Driver/ -I./source/Driver/Input/ -I./source/Driver/Input/Analog/ -I./source/Driver/Motor/ -I./source/Driver/Output/ -I./source/Driver/Output/State/ -I./source/Driver/Protection/ -I./source/Library/ -I./source/Library/Filter/ -I./source/Library/Sensor/ -I./source/SPC560P50/ -I./components main.c -o main.o


mkdir -p build/obj
mkdir -p build/lst
Compiling boot.s
ppc-freevle-eabi-gcc: error: unrecognized argument in option '-mcpu=e200zx'
ppc-freevle-eabi-gcc: note: valid arguments to '-mcpu=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e200z0 e200z2 e200z3 e200z4 e200z6 e200z7 e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power3 power4 power5 power5+ power6 power6x power7 power8 powerpc powerpc64 rs64 titan
ppc-freevle-eabi-gcc: error: unrecognized command line option '-mnew-mnemonics'
make: *** [build/obj/boot.o] Error 1


08:20:10 Build Finished (took 4s.59ms)