[yocto] Building clang with Yocto

Jim Rafert jimr at spectralogic.com
Mon Dec 8 09:48:27 PST 2014


Hello Chan,

I have been working to a similar goal, to include clang in the toolchain to be used for compiling applications to run on the target.  Using clang to compile the OS and kernel are not required or  desired by me.  

You may get some insight from the thread I started in November on the subject.  I'm not sure that this contains all of the posts on the subject. You may want to search the archive for November.

I have not been successful yet in getting clang actually packaged in the toolchain, in the Yocto build,  but at least it builds.  I have a postbuild script that takes the built clang compiler from the work directory and jams it into the SDK tarball that is embedded in the sdk install script.

-Jim-


________________________________________
From: yocto-bounces at yoctoproject.org [yocto-bounces at yoctoproject.org] on behalf of yocto-request at yoctoproject.org [yocto-request at yoctoproject.org]
Sent: Monday, December 08, 2014 2:56 AM
To: yocto at yoctoproject.org
Subject: yocto Digest, Vol 51, Issue 26

Send yocto mailing list submissions to
        yocto at yoctoproject.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.yoctoproject.org/listinfo/yocto
or, via email, send a message with subject or body 'help' to
        yocto-request at yoctoproject.org

You can reach the person managing the list at
        yocto-owner at yoctoproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of yocto digest..."
-------------- next part --------------
An embedded message was scrubbed...
From: Poky Build User <pokybuild at ubuntu1204.osl.yoctoproject.org>
Subject: [yocto] Release Candidate Build for yocto-1.8_M1.rc1 now available.
Date: Mon, 8 Dec 2014 09:02:30 +0000
Size: 1123
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141208/a7fd3a41/attachment.mht>
-------------- next part --------------
An embedded message was scrubbed...
From: "Yu, Chan KitX" <chan.kitx.yu at intel.com>
Subject: [yocto] Need guidance on compiling clang+rt-compiler+llvm 3.3
Date: Mon, 8 Dec 2014 09:35:31 +0000
Size: 5822
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141208/a7fd3a41/attachment-0001.mht>
-------------- next part --------------
An embedded message was scrubbed...
From: Paul Eggleton <paul.eggleton at linux.intel.com>
Subject: Re: [yocto] Using anonymous python function to define variables
Date: Mon, 8 Dec 2014 09:41:14 +0000
Size: 2850
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141208/a7fd3a41/attachment-0002.mht>
-------------- next part --------------
An embedded message was scrubbed...
From: Jegan Chandru <pcjegan at gmail.com>
Subject: Re: [yocto] prelink & mklibs problem
Date: Mon, 8 Dec 2014 15:25:47 +0530
Size: 15501
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141208/a7fd3a41/attachment-0003.mht>


More information about the yocto mailing list