This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

warning about _c_int00



 

Dear all:

  I am using CCS 3.3. I used to build an  example of pulse oximeter available from TI, But there appears

a warning.

 "warning: entry point other than _c_int00 specified"

Although build process completed successfully, but there is no result, i think it is due to

not specifying proper intial (reset ) point,

or any suggestion.

thanx

  • Muhammad,

    The _c_int00 symbol is the entry point specified by the C complier.  There are a few reasons that you could get this message. 

    One is if you're programming in Assembly code.  You can define whatever entry point you want, in this case, and CCS may warn you that this isn't standard, but in this case you can just ignore that message.  However, I doubt that this is your scenario. 

    The other reason that you might not see this is if you are using the compiler and have not linked in the C runtime library (rts.lib is the basic name, but the one that you need depends on your endianness, object file format, etc. ).  I suspect that this might be your issue.  you can link in the runtime library by adding it to your CCSv3 project manually or by spacifying -l <runtime library name> in your linker command.  If you choose the 2nd method, be sure that the location of this lib is in your linker search path.  This library file is located in the <compiler install directory>\bin folder.

    Regards,

    Dan

  • Thank you for your help.

    As you have mentioned two things.For  First  thing it is to claear that

    I am using C language, so i can't define entry point.

     For The second thing. i have added rts55x.lib for proper library name, which is locatedat "$(install dir)\C5500\cgtools\lib".

    I ahve tried this option but the same thing appears again. I think here is some logical point behind this warning, b/c whenever

    this warning appearsin compilationn, and after i load program, the program does not work properly.

     

  • The entry point is specified in the linker command file, which you must provide in addition to the C source code for your program.   For C programs, you should have the option "-c" or "-cr" somewhere in your linker command file, or on the linker command line.  This option implicitly tells the linker to use _c_int00 as the entry point.  You can override this entry point by using the "-e" (entry point) option.  Check your linker command file and your linker command line to see if you have any of "-c", "-cr" or "-e".