Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

naseeam

Member
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!
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top