<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
> Is cm3 working on LINUX_ALPHA? I have one ES40 working server with Gentoo Linux<br><BR> <BR>I don't think it does yet, but give me ssh access and I can most likely make it work pretty quickly.<BR>There is very very very little to porting these days.<BR> <BR> <BR>The main thing is finding the jmpbuf size, and adding the target to various tables, describing at little or big endian, 32bit or 64bit, etc., but even that is often automatic, if it starts "alpha_" or contains "64", it is assumed 64bit. If it contains "alpha", it is probably assumed little endian. If it contains "_linux", then it is assumed Linux, etc. The jmpbuf size we can just assume something big like 1k (that is a tremendous overkill). jmpbuf size should/will soon be eliminated as a factor in porting anyway.<BR>And then you just need to create a config file ALPHA_LINUX that includes("Alpha64.common") and "Linux.common" or such.<BR> <BR> <BR>Does ALPHA_LINUX have a 32bit mode/ABI?<BR>Or is it all 64bit all the time?<BR>i.e.<BR>what does this do:<BR>echo > foo.c<BR>gcc -m32 foo.c<BR> <BR> <BR>I had some Alphas but I've sold them all.<BR>I was given access to Alphas running Tru64 v4.something and v5.something and got that to work.<BR>But the "kernel" (Tru64 vs. Linux) and not the "processor architecture" (alpha, x86, sparc) are generally a larger concern, and Linux is really old hat at this point.<BR> <BR> <BR>See..one day...we'll generate C (and maybe have cooperative suspend) and <em>these questions will all just go away</em>.<em> </em>The answer will be "of course, most likely, nothing special".<BR> <BR> <BR> - Jay<br> <BR><div><div id="SkyDrivePlaceholder"></div>> From: dragisha@m3w.org<br>> Date: Thu, 7 Jun 2012 03:02:19 +0200<br>> To: dknoto@gmail.com<br>> CC: m3devel@elegosoft.com<br>> Subject: Re: [M3devel] [M3commit] CVS Update: cm3<br>> <br>> Try ALPHA_LINUX, maybe ask Jay first :)<br>> <br>> On Jun 7, 2012, at 1:16 AM, Dariusz Knociñski wrote:<br>> <br>> > Dnia 2012-06-06, o godz. 12:17:54<br>> > Dragi¹a Duriæ <dragisha@m3w.org> napisa³(a):<br>> > <br>> >> I know that much about generated code :).<br>> >> <br>> >> "Good" thing is - not many things changed in *m3 backend since I ported pm3<br>> >> to LINUX_ALPHA :)<br>> >> <br>> > Let me ask a stupid question. Is cm3 working on LINUX_ALPHA? I have one ES40<br>> > working server with Gentoo Linux.<br>> > <br>> > Best Regards<br>> > Dariusz Knociñski.<br>> <br></div> </div></body>
</html>