ya_montazar
Member level 2
Hi,
I have been create a simple microblaze project with only a 32 bit gpio prepheral. and when I start the sdk, using export w/o bit stream , and creat a new application project, this error occured when trying to build it :
make all
'Building file: ../src/main.cc'
'Invoking: MicroBlaze g++ compiler'
mb-g++ -Wall -O0 -g3 -c -fmessage-length=0 -I../../processor_sdk_bsp/microblaze_0/include -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.c -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.cc"
mb-g++: fatal error: '-c' is not a valid option to the preprocessor
compilation terminated.
make: *** [src/main.o] Error 1
thank you.
I have been create a simple microblaze project with only a 32 bit gpio prepheral. and when I start the sdk, using export w/o bit stream , and creat a new application project, this error occured when trying to build it :
make all
'Building file: ../src/main.cc'
'Invoking: MicroBlaze g++ compiler'
mb-g++ -Wall -O0 -g3 -c -fmessage-length=0 -I../../processor_sdk_bsp/microblaze_0/include -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.c -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.cc"
mb-g++: fatal error: '-c' is not a valid option to the preprocessor
compilation terminated.
make: *** [src/main.o] Error 1
thank you.