Changes between Version 8 and Version 9 of Projects/CLANG


Ignore:
Timestamp:
Feb 27, 2012, 6:21:12 PM (7 years ago)
Author:
WeiY
Comment:

/* Building RTEMS */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/CLANG

    v8 v9  
    103103
    104104
    105 I have not successfully built RTEMS yet.  I assume the problem is that I must pass in some combination of CC, CC_FOR_TARGET, and CC_FOR_BUILD in a way that makes the RTEMS build happy.
     105I have successfully built RTEMS.
     106
     107{{{
     108CPU=i386
     109../rtems/configure --target=${CPU}-rtems4.11 \
     110  --prefix=/sdb1/rtems-llvm/rtems-install \
     111  AR=${CPU}-rtems4.11-ar \
     112  AS=${CPU}-rtems4.11-as \
     113  CC_FOR_BUILD="clang " \
     114  CC_FOR_TARGET="clang -ccc-host-triple ${CPU}-rtems4.11 -ccc-gcc-name ${CPU}-rtems4.11-gcc " \
     115  CC_FOR_HOST="clang -ccc-host-triple ${CPU}-rtems4.11 -ccc-gcc-name ${CPU}-rtems4.11-gcc " >c.log 2>&1
     116
     117make RTEMS_BSP="pc386" >b.log 2>&1
     118}}}
    106119= References =
    107120