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.

Order of libc.a and rts67plus.lib

Hello,

I am using ccs5.2 and target C6746.

I am not sure if linking libc.a first then rts67plus.lib as shown below makes any difference as far as which one goes first.

(C6000 Linker/file search path include library file..)

for some reason sometimes the dis assembly can't find main

thanks for the help

  • any answers on this one?

    thx

  • Adil.O said:

    I am not sure if linking libc.a first then rts67plus.lib as shown below makes any difference as far as which one goes first.

    (C6000 Linker/file search path include library file..)

    The idea behind using libc.a is so the user does not have to worry about the appropriate library to choose for their particular device. The tools will figure out the correct library on their own. So you do not need to specify rts67plus.lib, just libc.a should be sufficient.

  • thanks for the answer, so I guess this rules out the possibility that when I load the .out sometimes it does not take me to main I mean not related to which library I link first