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

Re: Linker issues building subversion on Windows

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Wed, 2 Sep 2009 15:46:25 -0500

On Wed, Sep 2, 2009 at 3:28 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name>wrote:

> Robert Dailey wrote on Fri, 28 Aug 2009 at 08:01 -0500:
> > http://code.google.com/p/haresvn/source/browse/trunk/third_party.py
>
> Looks interesting, bookmarked. Those '&&' inside a list passed to
> RunCommand() look strange, though --- make me think "Why does that
> command expect an '&&' in argv[]?".

I can't remember if I said this or not, but right now third_party.py isn't
portable. It makes several calls to the system that are not functional on
linux or mac. Right now, all of the commands (including those that use the
"&&" operator) are tailored for windows only.

The && command in DOS means the left command must succeed (return non-zero)
before the right command is executed. For example:

call MyBatch1.bat && call MyBatch2.bat

If MyBatch1.bat fails, then MyBatch2.bat is not called. If it succeeds, then
both batch files will be executed. I use the && operator mainly because I
need to retain the environment between various commands. For example, when I
call the vsvars32.bat batch file, it sets up the environment in a certain
way. I have to call vsvars32.bat, then use &&, and then execute nmake after
it so that nmake has access to that environment setup by vsvars32.bat.

Anyway, I still can't seem to figure out why the symbols are not being
resolved. Basically, I checked aprutil-1.lib to see if those symbols indeed
do exist in the library and they do. However, MSVC complains that it cannot
find them. This can't be a dllimport/export issue since I'm using static
libraries for everything.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390427

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-02 22:47:22 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.