On compiling clang from svn on powerpc
Paul Mather
paul at gromit.dlib.vt.edu
Mon Mar 26 14:14:19 UTC 2012
On Mar 25, 2012, at 10:48 PM, Super Bisquit wrote:
> On 3/25/12, Sylvestre Ledru <sylvestre at debian.org> wrote:
>> Hello,
>>
>> Le dimanche 25 mars 2012 à 14:26 -0400, Super Bisquit a écrit :
>>> What arguments are needed with ../../configure and nano
>>> lib/Frontend/InitHeaderSearch.cpp ?
>> See:
>> https://buildd.debian.org/status/fetch.php?pkg=clang&arch=powerpc&ver=3.0-6&stamp=1330187740
>>
>> You are welcome!
>> Sylvestre
>>
>>
>>
>
> Even though the information is not directly related to FreeBSD, there
> are configure options and dependencies stated that may help with
> PowerPC builds. What is seen can be combined with the basic
> information for building from llvm.org.
>
> I have not been able to build clang or llvm as of yet; but, the
> process has gradually progressed.
Are you trying to build some particular version of clang? I noticed a couple of weeks ago that the base clang now builds on FreeBSD/powerpc64 RELENG_9. I've not attempted to do a buildworld and buildkernel using clang, but it did at least work for a simple "hello world" C program when I gave it a quick try.
backup# clang -v
FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210
Target: powerpc64-unknown-freebsd9.0
Thread model: posix
If the base clang is not working appropriately for you, I think it would be best to focus on getting that working first.
Cheers,
Paul.
More information about the freebsd-ppc
mailing list