<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Your change looks about right.<BR> <BR>Did you first "upgrade" and existing install, with these changes, and then cross?<br>That is what you must do.<BR> <BR> - Jay<br> <BR><div><hr id="stopSpelling">From: jay.krell@cornell.edu<br>To: adacore@marino.st; m3devel@elegosoft.com<br>Subject: RE: [M3devel] Stuck on adding new cm3 target (AMD64_DRAGONFLY)<br>Date: Sun, 19 Jan 2014 11:35:54 +0000<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">C:\dev2\cm3.2>findstr /s /i /p /c:"unrecognized target machine" *m3<br>m3-sys\cm3\src\Builder.m3: Msg.FatalError (NIL, "unrecognized target machin<br>e: TARGET = ", s.target);<br> <br> <br> Please don't bother with the last release. <br> Please use the current CVS version. <br> And please use the C backend.<br> Did you edit m3-sys/m3middle/src/Target.i3 and possibly Target.m3?<br> <br> <br> Please use this as a guide for files to consider changing:<br> C:\dev2\cm3.2>findstr /m /s /i /p freebsd m3makefile<br>m3-comm\udp\test\src\m3makefile<br>m3-libs\libm3\src\os\POSIX\m3makefile<br>m3-libs\m3core\src\float\m3makefile<br>m3-libs\m3core\src\thread\m3makefile<br>m3-libs\m3core\src\thread\PTHREAD\m3makefile<br>m3-libs\m3core\src\unix\m3makefile<br>m3-sys\m3cc\src\m3makefile<br>m3-sys\m3gdb\src\m3makefile<br>m3-tools\cvsup\suplib\src\FreeBSD\m3makefile<br>m3-tools\cvsup\suplib\src\m3makefile<br>m3-tools\cvsup\suptcp\src\POSIX\m3makefile<br> <br>C:\dev2\cm3.2>findstr /m /s /i /p freebsd *.c<br> m3-libs\libm3\src\uid\POSIX\getMID.c <br> m3-libs\libm3\src\uid\POSIX\MachineIDPosixC.c <br> m3-libs\m3core\src\Csupport\Common\s_lroundl.c <br> m3-libs\m3core\src\float\C99\FloatModeC.c <br> m3-libs\m3core\src\runtime\common\RTProcessC.c <br> m3-libs\m3core\src\runtime\POSIX\RTSignalC.c <br> m3-libs\m3core\src\thread\POSIX\ThreadPosixC.c <br> m3-libs\m3core\src\thread\PTHREAD\ThreadFreeBSD.c <br> m3-libs\m3core\src\thread\PTHREAD\ThreadOpenBSD.c <br> m3-libs\m3core\src\thread\PTHREAD\ThreadPThreadC.c <br> m3-libs\m3core\src\unix\Common\Uin.c<br> m3-libs\patternmatching\src\libglob\fnmatch.c <br><br> <br>esp. m3core and libm3.<br> <br> <br> If we are sure of the name "AMD64_DRAGONFLY" I can go ahead and do it for you.<br> But I realize there is much value in me NOT doing it. <br> I thought maybe AMD64_DBSD or DFLYBSD, but DRAGFLY is ok. <br> <br> <br> - Jay<br><br> <br><div>> Date: Sun, 19 Jan 2014 11:03:27 +0100<br>> From: adacore@marino.st<br>> To: m3devel@elegosoft.com<br>> Subject: [M3devel] Stuck on adding new cm3 target (AMD64_DRAGONFLY)<br>> <br>> Hi all,<br>> <br>> I've been trying to port cm3 to DragonFly x86-64.<br>> I'm able to build cm3cg on DragonFly, and use it to build libraries<br>> (e.g. libm3core) that were targeted for AMD64_FREEBSD.<br>> <br>> However, when I set the HOST to AMD64_FREEBSD and TARGET to<br>> AMD64_DRAGONFLY, I get the following error, "Fatal Error: unrecognized<br>> target machine: TARGET = AMD64_DRAGONFLY" (context below)<br>> <br>> =========================================================<br>> > /work/lang/modula3/work/modula3-5.8.6/scripts/pkgmap.sh -c "/work/lang/modula3/work/stage/usr/local/bin/cm3 -build -DROOT='/work/lang/modula3/work/modula3-5.8.6' -DCM3_VERSION_TEXT='5.8.6' -DCM3_VERSION_NUMBER='050806' -DCM3_LAST_CHANGED='2010-04-11' -DROOT='/work/lang/modula3/work/modula3-5.8.6' -DCM3VERSION='5.8.6' -DCM3VERSIONNUM='050806' -DCM3LASTCHANGED='2010-04-11' $RARGS " m3core<br>> > ROOT = /work/lang/modula3/work/modula3-5.8.6<br>> > CM3_ROOT = /work/lang/modula3/work/modula3-5.8.6<br>> > M3GDB = yes<br>> > M3OSTYPE = POSIX<br>> > TARGET = AMD64_DRAGONFLY<br>> > GCC_BACKEND = yes<br>> > INSTALLROOT = /work/lang/modula3/work/stage/usr/local<br>> > PKGSDB = /work/lang/modula3/work/modula3-5.8.6/scripts/PKGS<br>> > GREP = egrep<br>> > GMAKE = gmake<br>> > TMPDIR = /var/tmp<br>> > EXE = <br>> > SL = /<br>> > TAR = tar<br>> > CM3ROOT = /work/lang/modula3/work/modula3-5.8.6<br>> > CM3VERSION = 5.8.6<br>> > CM3VERSIONNUM = 050806<br>> > CM3LASTCHANGED = 2010-04-11<br>> > FIND = /usr/bin/find<br>> > EGREP = egrep<br>> > === package m3-libs/m3core ===<br>> > +++ /work/lang/modula3/work/stage/usr/local/bin/cm3 -build -DROOT='/work/lang/modula3/work/modula3-5.8.6' -DCM3_VERSION_TEXT='5.8.6' -DCM3_VERSION_NUMBER='050806' -DCM3_LAST_CHANGED='2010-04-11' -DROOT='/work/lang/modula3/work/modula3-5.8.6' -DCM3VERSION='5.8.6' -DCM3VERSIONNUM='050806' -DCM3LASTCHANGED='2010-04-11' $RARGS +++<br>> > --- building in AMD64_DRAGONFLY ---<br>> > <br>> > ignoring ../src/m3overrides<br>> > <br>> > <br>> > Fatal Error: unrecognized target machine: TARGET = AMD64_DRAGONFLY<br>> > <br>> > *** execution of /work/lang/modula3/work/stage/usr/local/bin/cm3 -build -DROOT='/work/lang/modula3/work/modula3-5.8.6' -DCM3_VERSION_TEXT='5.8.6' -DCM3_VERSION_NUMBER='050806' -DCM3_LAST_CHANGED='2010-04-11' -DROOT='/work/lang/modula3/work/modula3-5.8.6' -DCM3VERSION='5.8.6' -DCM3VERSIONNUM='050806' -DCM3LASTCHANGED='2010-04-11' $RARGS failed ***<br>> > *** [assembler-code] Error code 1<br>> <br>> =========================================================<br>> <br>> I thought I added all the target definitions but apparently I've missed<br>> something. I also realize the current repo looks a lot different, but I<br>> wanted to use the last official release.<br>> <br>> I've attached a concatenated file of patches showing what I've changed.<br>> Could somebody suggest what data is missing that causes the error above?<br>> <br>> Regards,<br>> John<br></div> </div></div> </div></body>
</html>