<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Right, good point, gcc usually generates worse code than any other compiler.<BR>
"We" don't have much C code though, so the compiler is mostly just a driver for the linker.<BR><BR>
> It would be interesting how good or bad M3s compiled code actually<BR><BR>
The little I've looked at is not good, but nobody notices.<BR>
Besides I don't want to pay the time or the risk or lost debugability of gcc's optimizer so I don't use it lately. The integrated backend is quite in the middle. It does certain local optimizations all the time, but lacks analysis over a larger scope.<BR><BR>> Are there any important differences in the linkers? I wouldn't care<BR>> much otherwise.<BR><BR>
I don't know. I'm still working on getting gcc and ld built/installed/working, though might skip them.<BR>
Sun ld is what is in use and, for once, I'll say I have enough other stuff to leave this very very low priority. (My ambition on this platform is basically -- make sure I can build it, make sure I can build a distribution, finally introduce "version.txt" now having Solaris /bin/sh/sed/awk to test with!, and then add introduce SPARC64_SOLARIS -- begging the question of GNU/Sun targets...)<BR>
<BR>
Hm, speaking of version.txt -- if I test on Solaris 10, good enough?<BR>
Are folks on this list using Modula-3 on older versions of Solaris?<BR>
Even so, what works on 10 "probably" works on older.<BR>
<BR>
- Jay<BR><BR>> Date: Fri, 13 Jun 2008 11:27:44 +0200<BR>> From: wagner@elegosoft.com<BR>> To: m3devel@elegosoft.com<BR>> Subject: Re: [M3devel] SOLsun/libgcc/libsunmath/FloatMode/dynamic linking/..?<BR>> <BR>> Quoting Jay <jayk123@hotmail.com>:<BR>> <BR>> ><BR>> > Ok I'll have to send out some smaller mails. Hey, I figure, you get <BR>> > the quality of email you pay me for. :)<BR>> <BR>> Could you be more elaborate on who exactly is paying you for M3 work? ;-)<BR>> I'd like to share this experience...<BR>> <BR>> > The "obvious" question is, sort of, does anyone give a darn about SOLsun?<BR>> > Using it actively?<BR>> > Wanting it back?<BR>> <BR>> Not personally, but I'd just like to remind you of the fact that<BR>> the Sun compilers were/are highly optimized for the SPARC architecture,<BR>> so that in certain performance critical domains nobody would use<BR>> gcc. I don't really know if this is still a current problem of gcc,<BR>> nor do I know if it has much impacts on CM3 as the gcc backend is<BR>> used anyway for all M3 code.<BR>> <BR>> It would be interesting how good or bad M3s compiled code actually<BR>> is wrt. the different target platforms... I've got no intention to<BR>> set up benchmark testing for this though ;-)<BR>> <BR>> > Another question is, does anyone give a darn what linker is used on SOL*?<BR>> > If the matter is just to use what is most easily/cheaply acquired, <BR>> > then the answer is use the Sun ld.<BR>> > Perhaps if the matter is "cross platform compatibility" then GNU, <BR>> > perhaps. (ie: bring along as much as you can so you can keep as much <BR>> > the same as possible, such as command lines/config file contents).<BR>> <BR>> Are there any important differences in the linkers? I wouldn't care<BR>> much otherwise.<BR>> <BR>> Olaf<BR>> -- <BR>> Olaf Wagner -- elego Software Solutions GmbH<BR>> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany<BR>> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95<BR>> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin<BR>> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194<BR>> <BR><BR></body>
</html>