PDA

View Full Version : Shared libraries


gnif
2009-02-11, 05:18
Is there any reason why we are compiling libraries such as libmad instead of linking against the version that comes with the distro (Ubuntu)?

If its just legacy from the XBOX, does anyone want me to submit patches to fix this?

This would greatly reduce build time.

jmarshall
2009-02-11, 06:59
See the external libraries branch. I'm sure ceros would appreciate some assistance. Note that not everything can be done with the standard versions as:

1. We modify some of them.
2. We wrap some of them at build time so they use our virtual filesystem.

Anything that doesn't require 1 or 2 is fair game. This drops down to just 1 if someone implements runtime wrapping, as is done on win32 and xbox.

Cheers,
Jonathan

lovedaddy
2009-02-12, 15:51
Its working really well for me. Using gentoo and a ffmpeg svn overlay, plus this branch. Outstanding work. Feels a lot more of a '*nix' way of doing things.

Maxim
2009-02-12, 17:17
I would imagine that also not depending on the distro to provide library and providing them within the application distribution makes it more portable and helps with debugging also.