AnsweredAssumed Answered

Makefile issue

Question asked by MikeSmithCanada on Mar 13, 2011
Latest reply on Mar 16, 2011 by MikeSmithCanada

You have a 21469 project generated with ReleaseNMC

 

Behaviour is unexpected -- so you try to use 'file options' -- file specific settings' to stop the optimizations of one file

Without changing anything other tswitching to file specific settings, you clean the project and build all

 

All the functions in the 'file specific' file are not found at link time  -- since the makefile did not build that file

 

You force the build of the 'file specific' file by build file

All the functions in the 'file specific' file are not found at link time -- can't find where the .doj file goes

 

You now go back and remove the 'file specific' option and rebuild -- still does not include this files .doj

Do clean and update dependendicies -- no change

 

Workaround -- delete the file and reattach to project

Does not help me since I can't attach the file in such a way that I can turn off optimizations

 

Mike Smith

 

PS -- In the end I rebuild the whole project in debugNWC mode

Outcomes