[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: gen-make.py oddness

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2003-04-25 14:43:14 CEST

>
>
>Yup, saw that myself.
>
>
>
>>I traced it out to the fact that it seems that the only libs being linked to
>>are "mswsock.lib ws2_32.lib advapi32.lib rpcrt4.lib shfolder.lib
>>libdb40.lib" in every exe file.
>>
>>The generator seems to not be picking up any other subversion libs, when it
>>parses build.conf.
>>
>>
>>
>It's not as simple as that. It does pick up all the libs and registers
>them as project dependencies (in the .dsw file), which implies linking.
>However, it's wrong in that it assumes that dependencies are transitive.
>They're not.
>
>The generator should be adding _all_ the dependencies it finds to the
>project, not just the first level of the dependency DAG.
>
>
>
The problem with that is that you get thousands of errors about
duplicately defined symbols during linking if a project is somehow
dependended upon twice by two different static libraries (though you are
definitely right about shared libraries). Therefore we try to determine
that a library is only dependended upon once by any given executable.
Visual Studio .NET fixes this problem, but for Visual C++ 6 we have to
be smart about the dependency tree.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 25 17:44:38 2003

This is an archived mail posted to the Subversion Dev mailing list.