Spanish Italian
7893 Users - Online:

SUCKERmenu

3.1 Avoid the generation of .src files from C files

Submitted by Chris on November 15, 2007.

The typical compilation process of an Erika Enterprise application produces various files which can be used to better analyze the code generated by the C30 compiler. In particular, from each .C file, a .SRC file is produced containing the corresponding assembler listing, which is then compiled by the MPLAB ASM30 compiler to produce the .o.
It is possible to avoid the intermediate step which leads to the production of the .SRC file. In that case, the compiler will be responsible of producing the .O file directly from the .C file. This in general also speeds up the compilation process a little bit. To obtain that feature, you can put the following lines in the OIL file.
CPU mySystem {
OS myOs {
EE_OPT = " NOSRC ";
...
};
...
};

Who's new

  • ptxmac
  • hadibn
  • vitaliano66
  • TheXMan
  • kozirog1
  • Baldovino
  • jameslys
  • wicked

Who's online

There are currently 0 users and 75 guests online.