The successfully building RTEMS for i386 using LLVM/Clang

yangwei weiyang wei.a.yang at gmail.com
Thu Feb 23 12:26:26 UTC 2012


Hi ,

Yes, first step i build the newlib with Clang(3.0-no modify) successfully and
install into the rtems-i386-gcc toolchain install directory. Because the newlib
built with Clang just has four libs(crt0.o, libc.a, libg.a, libm.a) ,
i just replace
these original libs and include files. As you know i just use Clang to compile
the RTEMS and using the standard toolchain to assemble and link image,
So if i replace the orignal newlib it will link the libs built with Clang.


2012/2/23 Sebastian Huber <sebastian.huber at embedded-brains.de>:
> Hello,
>
> it nice to hear of your success.  In your clang build did you build also the
> Newlib or is this one provided by the standard tool chain?
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
> Phone   : +49 89 18 90 80 79-6
> Fax     : +49 89 18 90 80 79-9
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users



-- 
Wei Yang
Best Regards

wei.a.yang at gmail.com




More information about the users mailing list