<br><br><div class="gmail_quote">On Tue, May 13, 2008 at 9:44 PM, S h i v &lt;<a href="mailto:shivakumar.gn@gmail.com">shivakumar.gn@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, May 13, 2008 at 9:25 PM, Michael Schuster<br>
&lt;<a href="mailto:Michael.Schuster@sun.com">Michael.Schuster@sun.com</a>&gt; wrote:<br>
&gt; Moinak Ghosh wrote:<br>
&gt;<br>
&gt; &nbsp;&gt; &nbsp; &nbsp;It is a tricky situation. GCC C++ tends to break ABI compatibility<br>
&gt; &nbsp;&gt; &nbsp; &nbsp;with itself now and then which is real trouble. On the other hand<br>
&gt; &nbsp;&gt; &nbsp; &nbsp;simply building KDE4 with SUN Studio is just a first step. There<br>
&gt; &nbsp;&gt; &nbsp; &nbsp;are N KDE applications out there and each and every one of them<br>
&gt; &nbsp;&gt; &nbsp; &nbsp;will require porting to build with SUN Studio essentially making it<br>
&gt; &nbsp;&gt; &nbsp; &nbsp;difficult to get more KDE apps on Solaris. Kinda porting hell.<br>
&gt;<br>
&gt; &nbsp;well ... IMO, &quot;porting&quot; an app once and then knowing it&#39;s going to run for<br>
&gt; &nbsp;the foreseeable future, even if other applications around it are changing,<br>
&gt; &nbsp;is less of a hell than having to chase ever-newer compiler releases with<br>
&gt; &nbsp;the potential ABI changes they bring.<br>
&gt;<br>
<br>
</div>Port once and live happily for foreseeable future is a myth.<br>
<br>
Software moves due to newer versions.<br>
Compiler moves due to compiler updates albeit much slowly.<br>
<br>
What to play catchup with is the choice to be made.<br>
KDE + huge set of KSoftwares is good bit of work to port and then keep<br>
up to date with the future *ongoing* updates.</blockquote><div><br>I &quot;ported&quot; my app , KWebTest [1] on both gcc-compiled kde 3.5.8 and Sun Studio compiled kde 3.4.3<br>KWebTest is around&nbsp; 2,000 lines of C++ code. It uses the KDE API&#39;s for drawing pretty much everything.<br>
Internally it uses a lot of pointer arithmetic and memory allocation/de-allocation (but no fancy template stuff though)<br><br>How much effort did I have to put in? Not much at all! - <a href="http://manish-chaks.livejournal.com/84564.html">http://manish-chaks.livejournal.com/84564.html</a><br>
<br>Similar steps for Konversation- a well-known KDE app - <a href="http://manish-chaks.livejournal.com/85335.html">http://manish-chaks.livejournal.com/85335.html</a><br>Similar steps are required for Sun CC; I have compiled these apps on SS-compiled KDE 3.4.3 myself.<br>
<br><br>My point?<br>1) Well written KDE apps will compile cleanly on gcc AND SS compiled KDE&#39;s<br>2) My understanding is that most of the code changes required are being committed back upstream. This makes the KDE code a little cleaner.<br>
3) A LOT of effort is required to get KDE4 cleanly up an running using SS12. A lot of outstanding work has been done by a few people on this mailing list to that end ( we all know who they are). Taking this work to it&#39;s logical conclusion would be really interesting. You would then be able to choose between SS12 and gcc-compiled KDE4. And open source software is about choice , isnt it ? :)<br>
<br><br>[1] <a href="http://code.google.com/p/kwebtest">http://code.google.com/p/kwebtest</a> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
There are compelling arguments on both sides &amp; I am for now in the gcc camp :)<br>
<font color="#888888"><br>
-Shiv<br>
</font><div><div></div><div class="Wj3C7c">___________________________________________________<br>
This message is from the kde-solaris mailing list.<br>
Account management: &nbsp;<a href="https://mail.kde.org/mailman/listinfo/kde-solaris" target="_blank">https://mail.kde.org/mailman/listinfo/kde-solaris</a>.<br>
Archives: <a href="http://lists.kde.org/" target="_blank">http://lists.kde.org/</a>.<br>
More info: <a href="http://www.kde.org/faq.html" target="_blank">http://www.kde.org/faq.html</a>.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Manish Chakravarty<br><a href="http://manish-chaks.livejournal.com/">http://manish-chaks.livejournal.com/</a><br>