<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
You don't need the target machine to get the .ms file.<BR>
You can cross build.<BR>
<BR>
# build some cross compilers <BR>
cd $CM3_ROOT/m3-sys/m3cc <BR>
cm3 -DM3CC_TARGET=PPC_LINUX <BR>
cm3 -DM3CC_TARGET=SOLgnu <BR>
cm3 -DM3CC_TARGET=PPC_DARWIN <BR>
cm3 -DM3CC_TARGET=PA32_HPUX <BR>
cm3 -DM3CC_TARGET=PA64_HPUX <BR>
cm3 -DM3CC_TARGET=SPARC64_OPENBSD <BR>
cm3 -DM3CC_TARGET=MIPS64_OPENBSD <BR>
cm3 -DM3CC_TARGET=SPARC64_SOLARIS <BR>
<BR>
# use cm3.cfg that honors CM3_TARGET environment variable <BR>
<BR>
cp m3-sys/cminstall/src/config-no-install/* /cm3/bin <BR>
<BR>
cd to where your code is <BR>
<BR>
CM3_TARGET=PPC_LINUX cm3 -boot <BR>
CM3_TARGET=PPC_DARWIN cm3 -boot <BR>
CM3_TARGET=MIPS64_OPENBSD cm3 -boot <BR>
CM3_TARGET=SPARC64_OPENBSD cm3 -boot <BR>
CM3_TARGET=SPARC64_SOLARIS cm3 -boot <BR>
CM3_TARGET=PA32_HPUX cm3 -boot <BR>
CM3_TARGET=PA64_HPUX cm3 -boot <BR>
<BR>
I don't think we have any actually working big endian 64bit targets, but the ones above almost work. <BR>
<BR>
- Jay<BR><BR> <BR>> Date: Mon, 17 Aug 2009 20:57:54 -0500<BR>> From: rodney.m.bates@cox.net<BR>> To: m3devel@elegosoft.com<BR>> Subject: [M3devel] Some big-endian info needed<BR>> <BR>> I need a favor. I need some info from the following program,<BR>> compiled on a 32-bit big endian and a 64-bit big-endian machine.<BR>> Would someone who has such machines with working cm3 installed<BR>> please send it to me?<BR>> <BR>> In particular, I need it compiled with -O0 -gstabs+, then the<BR>> output of:<BR>> <BR>> objdump -dG BitNos.mo<BR>> <BR>> Alternatively, if you don't have a working objdump, compiling<BR>> with cm3 -keep and sending me BitNos.ms would probably give me<BR>> what I need.<BR>> <BR>> Thanks. <BR>> <BR>> Rodney Bates<BR>> <BR>> --<snip>-----------------------------------------------------------<BR>> <BR>> MODULE BitNos EXPORTS Main<BR>> <BR>> ; TYPE Packed = RECORD<BR>> F0 : BITS 2 FOR [ 0 .. 3 ] := 3<BR>> ; F1 : BITS 3 FOR [ 0 .. 7 ] := 7<BR>> ; F2 : BITS 10 FOR [ 0 .. 1023 ] := 9<BR>> ; F3 : BITS 17 FOR [ 0 .. 131071 ] := 11 <BR>> ; F4 : BITS 4 FOR [ 0 .. 15 ] := 15<BR>> ; F5 : BITS 5 FOR [ 0 .. 31 ] := 17 <BR>> ; F6 : BITS 12 FOR [ 0 .. 4095] := 19<BR>> ; F7 : BITS 11 FOR [ 0 .. 2047 ] := 21<BR>> ; F8 : BITS 8 FOR [ 0 .. 255 ] := 23<BR>> END<BR>> <BR>> ; PROCEDURE P ( )<BR>> <BR>> = VAR Local : Packed<BR>> <BR>> ; BEGIN<BR>> EVAL Local . F3 <BR>> END P <BR>> <BR>> ; PROCEDURE Q ( )<BR>> <BR>> = BEGIN<BR>> END Q <BR>> <BR>> ; BEGIN<BR>> P ( )<BR>> ; Q ( ) <BR>> END BitNos<BR></body>
</html>