From: John M. <ato...@gm...> - 2012-07-09 01:32:25
|
The 'Getting started with avr-llvm' page is missing the clang info and only shows checking out the llvm/trunk. You'll also need to check out the cfe folder in avr-llvm. You can check out the whole of avr-llvm with: svn co https://avr-llvm.svn.sourceforge.net/svnroot/avr-llvm After following the clang getting started guide, from the root of Clang runthe doPatch.sh script: tools/clang$ ./PATH/TO/avr-llvm/cfe/trunk/patches/doPatch.sh On Sun, Jul 8, 2012 at 4:57 PM, Victor Aprea <vic...@wi...>wrote: > John, > > Thanks I'll try this later tonight. Can you explain more about what you > mean with regard to patching clang? My thought on how to do it was to > checkout llvm. Then checkout clang into llvm per the getting started guide<http://clang.llvm.org/get_started.html>(step 3). Then build and end up with a clang executable that can target the > avr machine architecture. Is there something I need to do between checking > out clang and building? > > Regards, > > Vic > > On Sun, Jul 8, 2012 at 5:18 AM, John Myers <ato...@gm...>wrote: > >> I updated the patch files. >> Please let me know if they work for you. >> >> When patching clang use (or reference) *doPatch.sh* since the order of >> the patches being applied matters. >> > > > > -- > Victor Aprea // Wicked Device > vic...@wi... > M: 607.745.1515 > T: twitter.com/vicatcu/ > > |