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

how to create and distribute executable subroutines

Hi I have written C code for a 8051 micro processor based custom board. Some of the code is for interfacing with specific peripherals (sensors) and processing the data. I would like to not share the source code with the users but only provide them the executable versions so that the users can link in my code into their code.
is this possible ? How to do it ? Any documentation on this topic would be appreciated.
Thanks.
Bhal Tulpule

Parents
  • The 'normal' for delivering 'canned' code is a library and a .h file. This does not give you a whole lot of protection from determined code thieves, but it protect you from the casusl thief. Since "everybody knows better than you how to code" what is important is that it protect you from having to discuss with a user "why didn't you use a state machine instead of if/if else" or some such, which you will end up doing if you release source.

    Erik

Reply
  • The 'normal' for delivering 'canned' code is a library and a .h file. This does not give you a whole lot of protection from determined code thieves, but it protect you from the casusl thief. Since "everybody knows better than you how to code" what is important is that it protect you from having to discuss with a user "why didn't you use a state machine instead of if/if else" or some such, which you will end up doing if you release source.

    Erik

Children
No data