AnsweredAssumed Answered

Moving to command-line compiler

Question asked by Matthew Reed on Jun 21, 2010
Latest reply on Jun 22, 2010 by CrasyCat

The project (so far) is working well in the IDE, but we have a corporate requirement that the project be able to compile from a batch-file.  So, I have to get the command-line compiler to compile the project.

 

This is a Zigbee project, so we are including the Freescale Zigbee files. 

 

My approach is to create a file-list from the project's XML file, then feed all these files into the command-line compiler with the -M option to create a makefile.  I can then modify the makefile as needed to get the thing to compile.

 

Currently having a problem with a pragma statement.  The macphy.h file gives this error:

#pragma MESSAGE DISABLE C1420
Error:                        ^^^^^
#   end of line expected

This error is repeated on several other files.  Anyone have any ideas?

 

Thanks!

-Matt

Outcomes