Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

IDE: Debug/Release settings do not change

Altera_Forum
Honored Contributor II
1,407 Views

I have a problem configuring my compilation parameters in NIOS IDE. 

I opened the window Project/Properties, selected Associated System Library on the left and clicked on its "System Library Properties" button. Now I have two sets of configuration options on the right/top part of the window: debug and release. When I switch from debug to release I see bottom/right part of the window partially change but partially stays the same between debug and release even after I make some changes and hit Apply button. 

 

For example, I want the system library to compile without optimization and with full debug when I configure for "debug" set of options and with no debug and full optimization when I configure it within "release" set of options. 

Unfortunately the window does not reflect my changes I made in nios2-elf-gcc "General" tab... It looks like the defines for the "Preprocessor" are kept separated between debug/release sets of options. 

 

How do you deal with this problem?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
675 Views

Looks like you may have hit one of the known issues which is documented in the errata.txt in the Nios II documents folder: 

 

151588 - Changing active build configuration for a Nios II  

project - On the C/C++ build property page, the  

configuration dropdown box can be used to select  

the active configuration (e.g. Release or Debug).  

When the active configuration is changed, this  

does not automatically update the rest of the  

window containing the settings such as Compiler  

flags, optimization level, etc. The user must  

deselect then reselect a category (e.g. click on  

PreProcessor then General) to see the settings  

for that configuration. 

 

Hope that helps.
0 Kudos
Altera_Forum
Honored Contributor II
675 Views

 

--- Quote Start ---  

originally posted by tmiranda@Jul 15 2004, 10:44 AM 

looks like you may have hit one of the known issues which is documented in the errata.txt in the nios ii documents folder 

--- Quote End ---  

 

Yes, looks like this is it - thank you. 

Did not notice errata.txt at all.
0 Kudos
Reply