o/
I've been toying with using Clang for building Debian packages back in November. Backstory of how I got there, for those interested, is below. So how did I go about it?
- install clang-3.5 -- explicitly
- symlink all gcc-X.Y and g++-X.Y to clang and clang++, respectively
- symlink gcc and g++ to clang and clang++
- symlink clang and clang++ to clang-3.5 and clang++-3.5
- proceed with building the package
Backstory.
This was part of investigation to have a way to spin up a Digital Ocean instance that would do nothing but build GNUstep Debian packages. One would collect the results and then destroy the instance. (The intended approach was to use Digital Ocean instances' 'user data', supplied when the instance is being spun up. This is nothing but a shell script.)
Yesterday I've been reworking that to work with Docker. I was going to announce this when it actually worked, but interested parties can take a look at [2].
The build currently breaks within gnustep-base. I have a patch from November for Source/Additions/GSObjCRuntime.m and Source/NSException.m, but it's hacky. Plus, I fear touching such low-level files. I'll eventually send this out for review, after I go once more through it, and after I rebase the patch on latest -base.