- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to compile the FIR example code for the BeMicroSDK. I just installed Quartus 10.0sp1, Nios II 10.0 plus the service pack and I'm having no issues buildign the BSP. When I compile the application code I get the following output.
**** Build of configuration Nios II for project BeMicroSDK_lab ****
make all
Info: Building ../BeMicroSDK_lab_bsp
make --no-print-directory -C ../BeMicroSDK_lab_bsp
Info: Compiling lab1.c to obj/lab1.o
gcc -MP -MMD -c -I../BeMicroSDK_lab_bsp/HAL/inc -I../BeMicroSDK_lab_bsp/drivers/inc -I../BeMicroSDK_lab_bsp -I../BeMicroSDK_lab_bsp/drivers/inc -Iinc -Isrc -IuC-CPU -IuC-CPU/BSP -IuC-CPU/CFG -IuC-CPU/NiosII -IuC-LIB -IuC-LIB/Cfg -IuC-Probe -DSYSTEM_BUS_WIDTH=32 -D__hal__ -pipe -DALT_NO_C_PLUS_PLUS -DALT_NO_INSTRUCTION_EMULATION -DALTERA_TRIPLE_SPEED_MAC -DALT_SINGLE_THREADED -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/lab1.o lab1.c
gcc: unrecognized option `-EL'
cc1: error: invalid option `no-hw-div'
cc1: error: invalid option `hw-mul'
cc1: error: invalid option `no-hw-mulx'
make: *** Error 1
I noticed that when compiling the BSP and when others (in the workshop) compiled the app, the Makefile uses nios-elf-gcc rather than gcc. I uninstalled all my copies of Cygwin, Mingw, etc...uninstalled and reinstalled all the Altera products and still have this issue. Any ideas?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page