[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Sat Aug 11 19:14:21 CEST 2007


Did you rebuild the backend?

I have built this on Darwin x86 and Linux x86 without problems.

On Aug 11, 2007, at 1:06 PM, j k wrote:

> I can build the compiler, but, youch, can't build m3core\long.m3:
>
> "..\src\word\Long.m3", line 11: Unknown type of size other than  
> dword in movOp
>
> The x86 back end needs work..I'll see if I can't just provide this  
> stuff in C and avoid understanding the backend much..
>
>  - Jay
>
> > From: hosking at cs.purdue.edu
> > Date: Wed, 8 Aug 2007 08:39:34 -0400
> > To: hosking at cs.purdue.edu
> > CC: m3devel at elegosoft.com; m3commit at elegosoft.com
> > Subject: Re: [M3commit] CVS Update: cm3
> >
> > Make sure to start with clean build directories and clean before
> > building with the bootstrapped compiler...
> >
> > On Aug 8, 2007, at 8:31 AM, Tony Hosking wrote:
> >
> > > Amended bootstrap instructions:
> > >
> > > Compiler and runtime extensions to support LONGINT type.
> > >
> > > Bootstrapping instructions: build and ship packages in the
> > > following order
> > >
> > > m3cc
> > > m3middle
> > > m3linker
> > > m3front
> > > m3quake
> > > cm3
> > >
> > > This places a new compiler in INSTALL_DIR/pkg/cm3/TARGET/cm3.
> > >
> > > Use this new compiler to build and ship the new system:
> > >
> > > export CM3=INSTALL_DIR/pkg/cm3/TARGET/cm3
> > > cd cm3/scripts
> >
> > ./do-cm3-std.sh realclean
> >
> > > ./do-cm3-std.sh buildship
> > >
> > > If this is successful then move the new compiler to BINDIR:
> > >
> > > mv $CM3 INSTALL_DIR/bin/cm3
> > >
> > > On Aug 8, 2007, at 5:50 AM, Antony Hosking wrote:
> > >
> > >> CVSROOT: /usr/cvs
> > >> Changes by: hosking at birch. 07/08/08 05:50:13
> > >>
> > >> Modified files:
> > >> cm3/doc/reference/: arithmetic.html arrays.html conventions.html
> > >> for.html index.html m3.html m3index.html
> > >> numbers.html ordinal.html subtypes.html
> > >> typeops.html word-intf.html
> > >> cm3/m3-db/smalldb/src/: OSSupport.m3
> > >> cm3/m3-libs/libm3/src/os/POSIX/: FSPosix.m3 FilePosix.m3
> > >> SocketPosix.m3
> > >> cm3/m3-libs/libm3/src/pickle/ver2/: ConvertPacking.m3
> > >> cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3
> > >> cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3
> > >> cm3/m3-libs/m3core/src/Csupport/Common/: hand.c
> > >> cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3
> > >> cm3/m3-libs/m3core/src/runtime/common/: RTTipe.i3 RTTipe.m3
> > >> cm3/m3-libs/m3core/src/thread/: m3makefile
> > >> cm3/m3-libs/m3core/src/unix/darwin-generic/: Umman.i3 Unix.i3
> > >> Utypes.i3
> > >> m3makefile
> > >> cm3/m3-libs/m3core/src/unix/freebsd-2/: Umman.i3 Unix.i3
> > >> Utypes.i3 m3makefile
> > >> cm3/m3-libs/m3core/src/unix/freebsd-3/: Umman.i3 Unix.i3
> > >> Utypes.i3 m3makefile
> > >> cm3/m3-libs/m3core/src/unix/freebsd-4/: Umman.i3 Unix.i3
> > >> Utypes.i3 m3makefile
> > >> cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Umman.i3 Unix.i3
> > >> Utypes.i3 m3makefile
> > >> cm3/m3-libs/m3core/src/word/: m3makefile
> > >> cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c
> > >> cm3/m3-sys/m3front/src/: m3makefile
> > >> cm3/m3-sys/m3front/src/builtinInfo/: InfoThisLine.m3
> > >> cm3/m3-sys/m3front/src/builtinOps/: Abs.m3 BitSize.m3 Ceiling.m3
> > >> Dec.m3 First.m3 Floatt.m3
> > >> Floor.m3 Inc.m3 Last.m3
> > >> Max.m3 New.m3 Number.m3
> > >> Ord.m3 Round.m3 Subarray.m3
> > >> Trunc.m3 Val.m3
> > >> cm3/m3-sys/m3front/src/builtinTypes/: BuiltinTypes.m3 Int.m3
> > >> m3makefile
> > >> cm3/m3-sys/m3front/src/builtinWord/: WordAnd.m3 WordExtract.m3
> > >> WordInsert.m3 WordModule.m3
> > >> WordNot.m3 WordOr.m3
> > >> WordRotate.m3 WordShift.m3
> > >> WordXor.m3
> > >> cm3/m3-sys/m3front/src/exprs/: AddExpr.m3 ArrayExpr.m3
> > >> CastExpr.m3 CheckExpr.m3
> > >> CompareExpr.m3 DivExpr.m3
> > >> EqualExpr.m3 Expr.m3 ExprParse.m3
> > >> InExpr.m3 IntegerExpr.i3
> > >> IntegerExpr.m3 ModExpr.m3
> > >> MultiplyExpr.m3 NegateExpr.m3
> > >> ReelExpr.i3 ReelExpr.m3
> > >> SetExpr.m3 SubscriptExpr.m3
> > >> SubtractExpr.m3
> > >> cm3/m3-sys/m3front/src/misc/: CG.i3 CG.m3 Coverage.m3 M3Front.m3
> > >> Marker.m3 Scanner.m3 TipeDesc.i3
> > >> TipeDesc.m3 Token.i3 Token.m3
> > >> cm3/m3-sys/m3front/src/stmts/: AssignStmt.m3 DebugStmt.m3
> > >> ForStmt.m3 TryFinStmt.m3
> > >> cm3/m3-sys/m3front/src/types/: ArrayType.m3 EnumType.m3
> > >> OpenArrayType.m3 SubrangeType.m3
> > >> Type.i3 Type.m3
> > >> cm3/m3-sys/m3front/src/values/: Exceptionz.m3 Formal.m3
> > >> Module.m3 Variable.m3
> > >> cm3/m3-sys/m3middle/src/: M3Buf.m3 M3CG_BinRd.m3 M3CG_BinWr.m3
> > >> M3CG_Check.m3 M3CG_Rd.m3 M3CG_Wr.m3
> > >> TFloat.i3 TFloat.m3 TInt.i3 TInt.m3
> > >> TWord.i3 TWord.m3 Target.i3 Target.m3
> > >> cm3/m3-sys/m3scanner/src/: M3Scanner.i3 M3Scanner.m3
> > >> cm3/m3-sys/m3tools/src/: M3AST.i3 M3Builtin.m3 M3Const.m3
> > >> M3Lexer.m3 M3Type.i3 M3Type.m3
> > >> cm3/m3-tools/m3browser/src/: Main.m3
> > >> Added files:
> > >> cm3/doc/reference/: m3logo.gif
> > >> cm3/m3-libs/m3core/src/word/: Long.i3 Long.m3
> > >> cm3/m3-sys/m3front/src/builtinLong/: LongAnd.i3 LongAnd.m3
> > >> LongDivide.i3 LongDivide.m3
> > >> LongExtract.i3
> > >> LongExtract.m3 LongGE.i3
> > >> LongGE.m3 LongGT.i3
> > >> LongGT.m3 LongInsert.i3
> > >> LongInsert.m3 LongLE.i3
> > >> LongLE.m3 LongLT.i3
> > >> LongLT.m3 LongMinus.i3
> > >> LongMinus.m3 LongMod.i3
> > >> LongMod.m3 LongModule.i3
> > >> LongModule.m3 LongNot.i3
> > >> LongNot.m3 LongOr.i3
> > >> LongOr.m3 LongPlus.i3
> > >> LongPlus.m3 LongRotate.i3
> > >> LongRotate.m3 LongShift.i3
> > >> LongShift.m3 LongTimes.i3
> > >> LongTimes.m3 LongXor.i3
> > >> LongXor.m3
> > >> cm3/m3-sys/m3front/src/builtinTypes/: LInt.i3 LInt.m3
> > >>
> > >> Log message:
> > >> Compiler and runtime extensions to support LONGINT type.
> > >>
> > >> Bootstrapping instructions: build and ship packages in the
> > >> following order
> > >>
> > >> m3middle
> > >> m3linker
> > >> m3front
> > >> m3quake
> > >> cm3
> > >>
> > >> This places a new compiler in INSTALL_DIR/pkg/cm3/TARGET/cm3.
> > >>
> > >> Use this new compiler to build and ship the new system:
> > >>
> > >> export CM3=INSTALL_DIR/pkg/cm3/TARGET/cm3
> > >> cd cm3/scripts
> > >> ./do-cm3-std.sh buildship
> > >>
> > >> If this is successful then move the new compiler to BINDIR:
> > >>
> > >> mv $CM3 INSTALL_DIR/bin/cm3
> > >
> >
>
>
> Recharge--play some free games. Win cool prizes too! Play It!




More information about the M3commit mailing list