Library

Hi,
My question is about library !
I would to know if the entry point of the program can be situated in a .Lib which is include in a project. To summary, can i put the main in a .Lib and how can i do to indicate to the project that the entry point is in .Lib
Thanks
Regards
J.M.M

Parents
  • There is nothing special about main(), except the fact that "main" is the "name of the place" where the startup code jumps after initialization, so you can put the main function into a library like any other function.
    In fact, when you use the RTX166 Tiny operating system, "main()" is into the operating system, which is contained in a library file.

Reply
  • There is nothing special about main(), except the fact that "main" is the "name of the place" where the startup code jumps after initialization, so you can put the main function into a library like any other function.
    In fact, when you use the RTX166 Tiny operating system, "main()" is into the operating system, which is contained in a library file.

Children
More questions in this forum