Yeah exactly - "yum install gcc" will get you a GCC installation (not sure exactly which one). <br><br>It's best to compile on an emulator or a sugar-jhbuild though for speed, and then scp over to the real XO to profile.
<br><br>Using oprofile will give you a good idea of where system-wide performance issues are.<br><br>In my opinion, the single biggest performance issue on XO is Activity startup time, and from watching my own activities start most of that seems to be in the journal setup that happens each time, but that's going to be a mix of Python, DBUS, C++, etc.
<br><br>On the games / animation side, X and the video driver seem to be the big culprit, oprofile shows my games as spending >50% outside of my executable (and that's with my game filling a fullscreen GdkImage each frame and simply drawing it to the screen). A lot of that time is spent in something called "libshadow", which I guess is related to some higher level Gtk window being double buffered?
<br><br>Anyway, I would love to see someone publish a secondary compiler package that was XO optimized to the repository, e.g. "yum install gcc-xo".<br><br>Best,<br><br>Wade<br><br><div class="gmail_quote">2008/1/25 Bennett Todd <
<a href="mailto:bet@rahul.net">bet@rahul.net</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2008-01-25T01:06:06 Vasilis Liaskovitis:
<br><div class="Ih2E3d">> 1) I haven't found a default gcc in my xo system - if there is one,<br>> where is it installed ?<br><br></div>OLPC doesn't ship with one.<br><br>I suspect (though I don't know) "yum install gcc" would be a step in
<br>the right direction. I think most people doing this sort of dev for<br>the XO don't do in on an XO, but on a bigger, faster dev box, either<br>using Fedora 7 plus sugar pkgs, or with one of the virtual images to<br>
download.<br><font color="#888888"><br>-Bennett<br></font><br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br><a href="http://lists.laptop.org/listinfo/devel" target="_blank">
http://lists.laptop.org/listinfo/devel</a><br><br></blockquote></div><br>