When invoking clearmake, why symbol definition doesn't work on the command line?

Nov 22, 2011 0 Replies

I type the following on command prompt:



H:\clearmake -f makefile.mk "CCD_FLAGS += -dMACHINE1"



It looks like the source file that has MACHINE1 compile time flag around it is not getting built. When I look at the map file, I only see .debug section for this file. And the size of this .debug section is too small, only 68 bytes. I should also see const, data, and text sections for this source file in the map file.



Also, when the source file is getting compiled, I see definition of other



-d symbols on the screen, but definition of MACHINE1 symbol doesn't appear on the screen.



Please advise.



Thank you!



--------------------------------------- Posted through

formatting link


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required