When I 74compile my project I get these errors: **************************************** *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C_STARTUP MODULE: gf.obj (GF) *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C?COPY MODULE: gf.obj (GF) *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: ?C?COPY MODULE: gf.obj (GF) ADDRESS: 0027H ******** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C_STARTUP MODULE: gf.obj (GF) *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C?COPY MODULE: gf.obj (GF) *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: ?C?COPY MODULE: gf.obj (GF) ADDRESS: 0027H ******************************************* What does this mean and where is the problem? Thanks
"The problem is that I am using startup.a51 and init.a51" No, that is not the problem. "so I think in this case I should translate all c files to src" No: this is precisely what is causing your problem - as I explained earlier. You use the SRC directive only if you are using inline assembler - and, as I said before, my opinion is that inline assembler is best avoided.
Well, I guess you are right. When I disabled that choice, it gave no errors. Thanks. I guess I should take a better look on the user's guide :) Many thanks again
Then, if you do find parts that need hand optimising, write them properly in assembler as assembler modules and call them from 'C' - do NOT mess about with inline assembler! How can this be done?
"How can this be done?" As I said earlier: There's a whole section in the Manual on how to do that.