This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I have a problem trying update my old version software developed in c51

I have an old version of c51 where I develop an application. I want to use a newer version of this compiler (c51), I want my old version to compile in the new version of c51. How can I make this work?
Thanks!

Parents
  • I have an old version of c51 where I develop an application. I want to use a newer version of this compiler (c51), I want my old version to compile in the new version of c51. How can I make this work?

    literally you say that you want your old compiler to be compiled by a new compiler.

    Since I can not believe that that is waht you mean let me answer what I think is your question: "can I compile source the I compiled with an old C51 with a new one?".

    The answer is yes if you recompile EVERYTHING

    If you find any glitches that will not be the compilers fault e.g. delays erroneously coded in C (no delay routine should ever be in C) or "critical timing that happen to work" such will be fault in the code rather than compiler faults.

    I do final test compiling with two versions and testing both results to try to catch such possibilities and can thus answer absolutely "If the code is good there is no problem updating the compiler"

    Erik

Reply
  • I have an old version of c51 where I develop an application. I want to use a newer version of this compiler (c51), I want my old version to compile in the new version of c51. How can I make this work?

    literally you say that you want your old compiler to be compiled by a new compiler.

    Since I can not believe that that is waht you mean let me answer what I think is your question: "can I compile source the I compiled with an old C51 with a new one?".

    The answer is yes if you recompile EVERYTHING

    If you find any glitches that will not be the compilers fault e.g. delays erroneously coded in C (no delay routine should ever be in C) or "critical timing that happen to work" such will be fault in the code rather than compiler faults.

    I do final test compiling with two versions and testing both results to try to catch such possibilities and can thus answer absolutely "If the code is good there is no problem updating the compiler"

    Erik

Children