On Mon, Jul 08, 2013 at 11:44:35AM +0100, Gianfranco Costamagna wrote:
> Ok Alyssa I understand your point, so something like
> if 
>    don't have any libstdc++ at all
> then
>    link it statically
> else
>    link dinamically
> 
> could be good enough?

You build the apps on the server, and distribute only the binaries to
the clients (usually).

The apps are meant to be run on the *clients*, and you don't know what
libstdc++ is on the clients.

So, you have to build the apps so that they're compatible with as many
distributions/versions as possible, which usually means static linking.
But.. I thought that this is a problem for libc anyway, which is why
the instructions say to use an old VM for building apps:

http://boinc.berkeley.edu/trac/wiki/CompileAppLinux

So I think it's almost impossible to build compatible apps as a Debian
or Ubuntu package, unless I misunderstand something. It's an annoying
problem.

- Alyssa
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to