Re: [yocto] Building clang with Yocto

2014-12-23 Thread Yu, Chan KitX
Gheorghisan'; 'Jim Rafert'; yocto@yoctoproject.org Subject: Re: [yocto] Building clang with Yocto Hi Chan Kit, On Monday 22 December 2014 03:33:17 Yu, Chan KitX wrote: Here's an update FYI. I have managed to get clang sort of working. It compiles my sample code but I can't get the binary

Re: [yocto] Building clang with Yocto

2014-12-23 Thread Jim Rafert
...@intel.com] Sent: Tuesday, December 23, 2014 1:21 AM To: Paul Eggleton Cc: Jim Rafert; yocto@yoctoproject.org Subject: Re: [yocto] Building clang with Yocto I tried ldd-ing my binary on my build machine since it doesn't work on my image and it was built on glibc indeed. Since yocto is based on ulibc so

Re: [yocto] Building clang with Yocto

2014-12-23 Thread Yu, Chan KitX
Subject: RE: [yocto] Building clang with Yocto Hi Chan, The errors that you are experiencing point to a mismatch between the target architecture of the compiler, and the headers and libraries that the compiler finds. There are several steps that are necessary to get right before you can produce

Re: [yocto] Building clang with Yocto

2014-12-22 Thread Paul Eggleton
Hi Chan Kit, On Monday 22 December 2014 03:33:17 Yu, Chan KitX wrote: Here's an update FYI. I have managed to get clang sort of working. It compiles my sample code but I can't get the binary to execute. ./a.out simply returns: ./a.out: No such file or directory. I'm sure that a.out

Re: [yocto] Building clang with Yocto

2014-12-22 Thread Jim Rafert
. From: Yu, Chan KitX [chan.kitx...@intel.com] Sent: Tuesday, December 09, 2014 8:24 PM To: Liviu Gheorghisan; Jim Rafert; yocto@yoctoproject.org Subject: Re: [yocto] Building clang with Yocto Liviu and Jim, The thing is I’m trying to integrate LLVM+Clang together in the LLVM recipe

Re: [yocto] Building clang with Yocto

2014-12-21 Thread Yu, Chan KitX
@yoctoproject.org Subject: RE: [yocto] Building clang with Yocto Liviu and Jim, The thing is I'm trying to integrate LLVM+Clang together in the LLVM recipe. The modifications that I made are just adding Clang, compiler-rt and Clang tools within the LLVM work directory. Using this way, I can mimic

Re: [yocto] Building clang with Yocto

2014-12-09 Thread Jim Rafert
the Yocto framework, you will share the information. -Jim- From: Yu, Chan KitX [chan.kitx...@intel.com] Sent: Monday, December 08, 2014 6:19 PM To: Jim Rafert; yocto@yoctoproject.org Subject: RE: Building clang with Yocto Hi Jim, How did you jam the clang

Re: [yocto] Building clang with Yocto

2014-12-09 Thread Liviu Gheorghisan
- From: Yu, Chan KitX Sent: Tuesday, December 09, 2014 9:19 AM To: 'Jim Rafert'; yocto@yoctoproject.org Subject: RE: Building clang with Yocto Hi Jim, How did you jam the clang compiler into the SDK tarball? Chan Kit -Original Message- From: Jim Rafert [mailto:j...@spectralogic.com] Sent

Re: [yocto] Building clang with Yocto

2014-12-09 Thread Jim Rafert
? -Jim- From: Liviu Gheorghisan [liviu.gheorghi...@enea.com] Sent: Tuesday, December 09, 2014 9:27 AM To: Yu, Chan KitX; Jim Rafert; yocto@yoctoproject.org Subject: Re: [yocto] Building clang with Yocto Hello Yu, Jim I think you can get the clang executable

Re: [yocto] Building clang with Yocto

2014-12-09 Thread Liviu Gheorghisan
*To:* Yu, Chan KitX; Jim Rafert; yocto@yoctoproject.org *Subject:* Re: [yocto] Building clang with Yocto Hello Yu, Jim I think you can get the clang executable into the SDK installer script with something like this: 1. Add this dependency in nativesdk-packagegroup-sdk-host.bb: *RDEPENDS_${PN

Re: [yocto] Building clang with Yocto

2014-12-09 Thread Yu, Chan KitX
[mailto:liviu.gheorghi...@enea.com] Sent: Wednesday, December 10, 2014 12:27 AM To: Yu, Chan KitX; Jim Rafert; yocto@yoctoproject.org Subject: Re: [yocto] Building clang with Yocto Hello Yu, Jim I think you can get the clang executable into the SDK installer script with something like this: 1. Add

Re: [yocto] Building clang with Yocto

2014-12-08 Thread Yu, Chan KitX
Hi Jim, How did you jam the clang compiler into the SDK tarball? Chan Kit -Original Message- From: Jim Rafert [mailto:j...@spectralogic.com] Sent: Tuesday, December 09, 2014 1:48 AM To: yocto@yoctoproject.org; Yu, Chan KitX Subject: Building clang with Yocto Hello Chan, I have been

Re: [yocto] Building clang with Yocto

2014-12-08 Thread Yu, Chan KitX
Message- From: Yu, Chan KitX Sent: Tuesday, December 09, 2014 9:19 AM To: 'Jim Rafert'; yocto@yoctoproject.org Subject: RE: Building clang with Yocto Hi Jim, How did you jam the clang compiler into the SDK tarball? Chan Kit -Original Message- From: Jim Rafert [mailto:j...@spectralogic.com