- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has anyone had problems with using Build Configurations or Exclude from Build in Eclipse Ganymede with a Nios software project? I have a project with a test main.c and an operational main.c in different folders. I tried using Exclude from Build to isolate one main.c for a build, but both files still appear to be built which causes a linker error. I also tried defining two Build Configurations, one with each main.c. Still, the same thing happens--both get built. It's almost like the Makefile is not getting refreshed when I change settings. Is this feature supported in the Altera environment and I'm using it wrong or does it just not work?
Thanks, -BradLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
As you mentioned Eclipse Ganymede, you are using NIOS EDS 9.1. Am I right? Despite that the problem you are describing sounds like the not supported feature of the NIOS EDS 10.0. The feature exclude from build is not supported anymore and is replaced by remove from niosii build. Because it is an Eclipse feature exclude from build is still displayed.But as noted, this is just a matter in NIOS EDS 10.0. Don't know why you can't do it with your version. Maybe you've the feature remove from niosii build as well and it will solve your problem? Though I never used 9.1..... Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I am using 9.1 Build 222.
Playing around with it a little more has revealed that if I have a single build configuration and I choose a file for Exclude From Build, it updates immediately and all is well. However, when you have multiple build configurations, you can choose which files you want to exclude from which configs--say I want main_test.c for the Test build and main.c for the Operational build. So when I choose my active build, I would expect the file listing to automatically update and exclude the right files, and also update the makefile. Frustratingly, when I choose my active build, nothing happens.
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