GSoC 2015 - Clang support and Eclipse plugin work

Charith Eranga eranga.charith at gmail.com
Tue Mar 24 14:52:16 UTC 2015


Hi All,

I'm Charith Eranga from University of Moratuwa, Sri Lanka. I'm
currently a second year student specializing in embedded software
development.

I'm particularly interested in compiling RTEMS with Clang [1] and the
improvements to the Eclipse plugin [2]. I've made a start with RTEMS
by compiling toolchain/rtems following the GSoC guide [3].

For clang support, I've made start by following the steps of [1]. I
also have an industry contact (llvm/clang committer) who's willing to
help me on that side of things. One question I have about this is, how
do we define a success measure for this project? I mean, RTEMS seem to
already compile with Clang with some local patches [1], but how do we
evaluate whether the resulting binary is in good shape? should I also
be thinking of some test-plan as part of the project? Secondly, will
it be OK if I fork off clang in github and maintain the patches there?

I haven't yet tried out the RTEMS Eclipse plugin (on my TODO list),
but I have an interest in learning Eclipse plugin development. I
suppose the objectives of this project would be implement as much as
possible in the TODO list of [2]?

Many thanks for your comments.

- Charith

PS: "Hello World" exercise attached herewith.

[1] https://devel.rtems.org/wiki/Projects/CLANG
[2] https://devel.rtems.org/wiki/Developer/Eclipse/Information
[3] https://devel.rtems.org/wiki/GSoC/GettingStarted
-------------- next part --------------
--- init-bak.c	2015-03-24 12:43:43.858898503 +0530
+++ init.c	2015-03-24 12:48:36.834889846 +0530
@@ -27,9 +27,10 @@ rtems_task Init(
   rtems_task_argument ignored
 )
 {
-  rtems_test_begin();
-  printf( "Hello World\n" );
-  rtems_test_end();
+	printf( "\n\n*** GSOC'15 HELLO WORLD TEST ***\n" );
+	printf( "This is Charith's Hello World!\n" );
+	printf( "Welcome to RTEMS and GSOC 2015.\n" );
+	printf( "*** END OF GSOC'15 HELLO WORLD TEST ***\n" );
   exit( 0 );
 }
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapOfHelloWorld.png
Type: image/png
Size: 170521 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150324/be54ec57/attachment-0001.png>


More information about the devel mailing list