- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I'm getting started with NIOS-II
I've succesfully built hardware design and created bsp from it
When I am trying to build example "hello World" project i am getting errors like:
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mno-hw-div'
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mno-hw-mul'
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mno-hw-mulx'
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mgpopt=global'
make: *** [obj/default/hello_world.o] Error 1
I haven't touched any build settings or bsp options, my qsys project also has the most default settings possible
I am using Quartus Prime Lite 18.1
Couls you please tell me what I am doing wrong?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @icstars,
Thank you for posting in Intel community forum, hope this message find you well and apologies for the delayed in response.
Did some investigation and it seem that the culprith might be the wslpath program environment on your machine have changed.
Is there any OS updates on your machine recently?
Would suggest to try on the following workaround, Open the project Makefile, and look for the following link of code:
APP_LDFLAGS += -msys-lib=$(call adjust-path-mixed,$(SYS_LIB))
(by default it is around line 326 if there is no changes on the files)
Change to the following :
APP_LDFLAGS += -msys-lib=hal_bsp
And try to rebuild your project to see if it works.
Please do let us know if that helps.
Warm regards.
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @icstars,
Greetings, by any chances did you managed to look into the clarification above or even try out the workaround stated.
Please do let us know if there is any difficulties doing so.
Warm regards
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @icstars,
Hope this message find you well and good day, unfortunately as we do not receive any response from you to the previous clarification that we have provided. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.
Warm Regards
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello BB!
Changing makefile didn't help me, but my projects started to work after removing and reinstalling arm toolchain
No idea how it works, but it solved the problem
Thank you for your help!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page