compiling OSX and ATV2 side-by-side
#1
Hey guys,

I'm compiling xbmc for OSX and from time to time testing it on ATV2. My problem is that the dependencies are platform specific and I have to recompile them from the beginning every time I switch platform. What's the best way to avoid that, while keeping the source files in one place?

Thanks.
Reply
#2
The best way is to not keep the source files in one place. Instead do a local clone of your source tree into a second dir (xbmc-ios for example).

Once you have build the depends for both ios and osx you would have to do the following for each arch switch:

Code:
git clean -xdf
cd tools/darwin/depends
./bootstrap
./configure --with-arch=<wanted arch>
cd ../../..
make -C tools/darwin/depends/xbmc
make xcode_depends
build project with xcode

But i'm not pretty sure if our buildsys will do everything right when changing the architecture (you might end up with half in half arch).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Thanks Memphiz.

I'll give it a try. Just wanted to be sure xcode dependencies folder is not effected by specific platform, since both archs will use the same one.
Reply

Logout Mark Read Team Forum Stats Members Help
compiling OSX and ATV2 side-by-side0