[fpc-pascal] Re: Compilation Error At revision 25270.
waldo kitty
wkitty42 at windstream.net
Sat Aug 17 19:34:50 CEST 2013
On 8/17/2013 07:35, Reinier Olislagers wrote:
> I appear to be unclear. The makefile sometimes does not specify all
> .a/.o files to clean. Therefore make clean does not clean all .a/.o
> files, i.e. does not work, i.e. doing just make clean is not always enough.
no, you are perfectly clear... clean doesn't always work... distclean should...
i've never used distclean in my update scripts but i will be changing that
soonest...
> As for the "update can move the sources to another directory" etc: no
> idea what you're talking about there....
:( think about it... you have a source tree like this
#1
\projects
\projects\libs
\projects\myproject
\projects\myproject\myproject.pas
\projects\myproject\mylib.pas
you have refined mylib.pas to the point that you want to use it in other
projects so you move it to \projects\libs and adjust the makefile accordingly...
#2
\projects
\projects\libs
\projects\libs\mylib.pas
\projects\myproject
\projects\myproject\myproject.pas
so you started as #1 above and svn up to #2... when you run make clean, the old
mylib.o,.a,.ppu files are still in \projects\myproject somewhere and may be used
by the compiler instead of those that should be in \projects\libs where you
moved your mylib.pas file to...
is that clearer now??
--
NOTE: No off-list assistance is given without prior approval.
Please keep mailing list traffic on the list unless
private contact is specifically requested and granted.
More information about the fpc-pascal
mailing list