Linaro Connect resources will be available here during and after Connect!

Booking Private Meetings
Private meetings are booked through bkk19.skedda.com and your personal calendar (i.e. Google Calendar). View detailed instructions here.

For Speakers
Please add your presentation to Sched.com by attaching a pdf file to your session (under Extras > + File). We will export these presentations daily and feature on the connect.linaro.org website here. Videos will be uploaded as we receive them (if the video of your session cannot be published please let us know immediately by emailing connect@linaro.org).

Dave Pigott has come up with another puzzle: https://linaro.co/bkk19puzzle can you crack the code?! Prizes will be awarded to the winner(s) on Friday.

Back To Schedule
Tuesday, April 2 • 11:00am - 11:55am
BKK19-210 Cross compilation with clang and LLVM tools.

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Clang and the LLVM tools promise to be a drop in replacement for gcc and
support cross compilation out of the box. In practice trying to make this work
can be a frustrating experience, with little documentation or guidance

This presentation will distil some of the experience gained by TCWG, covering:
- Clang's model of cross compilation and how it differs from gcc.
- Why there isn't a clang cross-compilation toolchain that I can download.
- Building a toolchain based on as many LLVM tools and libraries as possible.
- How to use clang when cross compiling with cmake.
- How some existing open source projects use clang tools targeting Arm
and AArch64.
- Common problems encountered when using clang as a substitute for gcc.

avatar for Peter Smith

Peter Smith

Principal Engineer, Arm
Peter is an Assignee to the Linaro Toolchain team (TCWG) working on LLVM based tools, specializing in Linkers. Prior to that he has many years of experience in the Arm Compiler Team.

Tuesday April 2, 2019 11:00am - 11:55am GMT+07
Session Room 1 (Lotus 1-2)