From: Hitoshi Y. <hi...@mp...> - 2005-11-28 16:48:51
|
Hi, tmker, Maybe this is a bug: tmk depend does not update *.libspec file. Recently I have got some questions that tmk's link information remains somewhere and can not change that information. This comes from that: tmk generates *.libspec file when a compiling directory has files which do not contain main(). This libspec file is not updated when run `tmk depend.' Once someone adds the link::PROJLIB line to TMakefile, and later the one removes that entry, still tmk tries to link these transitive libraries. Most of the case, this does not cause a problem, since some source files are updated and a new shared lib is created, then libspec file is also updated. However, e.g, other project is updated and link status is changed (e.g., the library does not exist anymore), tmk fail to link that since the libspec file is not updated. In this case `tmk clean' solves the problem, but it is not so good to recompile a whole project. It is better `tmk depend' update this libspec file or remove the libspec file. Or, maybe `tmk libclean', which clean all the libraries and libspec files, is one easy solution. I think this is not so urgent matter, so I will just report this as a bug. Regards, --------------------------------------------------------------------- Yamauchi, Hitoshi : Max-Planck-Institut fuer Informatik AG4 --E-mail-- yam...@mp... /_________/ http://www.mpi-inf.mpg.de/~hitoshi/ |