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

Re: svn platform dependence

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Sun, 30 Mar 2008 03:06:52 -0500

On Mar 29, 2008, at 21:00, Anoop kumar V wrote:

> Probably a very dumb question - Is subversion, the client version
> (at least) platform independent?
>
> The reason I ask is that I have a solaris intel box and could
> compile and build the svn client from the source. Then I realized
> that the destination where I want to install the client is actually
> solaris sparc (not intel - but same version etc). I cannot build on
> the solaris sparc machine because I cannot install things like gcc,
> cc etc., and I do not have root access. Also I do not have a sparc
> machine. Virtualization was an option, but after much mistrials I
> do not want to try that more - my intel machine cannot do hardware
> virtualization etc etc..
>
> So is there someway I can use the intel svn client on sparc - or is
> there a converter? Or better still can somebody who has a sparc
> machine build one for me - I would be most grateful!

Subversion is supposed to be as platform-independent as the platform-
independence library it uses, the Apache Portable Runtime (APR).

I am not familiar with SPARC specifically, but I would assume you
could cross-compile. For example, on an Intel Mac, you can compile a
PowerPC Mac executable, and vice-versa. However, cross-compilation is
not something I'm an expert at so you'd have to look up that topic
elsewhere. I believe you would be looking at the --host, --build and
--target configure options, at least. On the Intel SPARC box where
you have your compilation tools you would also need a cross-compiling
version of gcc (or whatever compiler) that is capable of producing
SPARC binaries for whatever processor architecture is on the other
machine.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-30 10:07:54 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.