[M3devel] changed to "builder" for C backend

Jay K jay.krell at cornell.edu
Fri Sep 14 22:08:07 CEST 2012


 > What’s not working?


Builder-wise, it looks good.

Backend-wise: m3core compiles and links; libm3 gets to:new source -> compiling ConvertPacking.m3m3front ../src/pickle/ver2/ConvertPacking.m3 -w1gcc -gstabs+ -fPIC -m32 -arch ppc -I/cm3/pkg/m3core/src/unix/Common -I/cm3/pkg/m3core/src -I/cm3/pkg/m3core/src/Csupport/Common -I/cm3/pkg/m3core/src/Csupport/big-endian -I/cm3/pkg/m3core/src/Csupport/libgcc -I/cm3/pkg/m3core/src/runtime/common -I/cm3/pkg/m3core/src/runtime/POSIX -I/cm3/pkg/m3core/src/runtime/ex_frame -I/cm3/pkg/m3core/src/thread/Common -I/cm3/pkg/m3core/src/thread/PTHREAD -I/cm3/pkg/m3core/src/C/Common -I/cm3/pkg/m3core/src/float/C99 -I/cm3/pkg/m3core/src/time/POSIX -I../src/os/POSIX -I../src/uid/POSIX -c ConvertPacking.m3.c -o ConvertPacking.moConvertPacking.m3.c: In function ‘ConvertPacking__Init’:ConvertPacking.m3.c:9856: error: incompatible type for argument 1 of ‘ConvertPacking__GetWordKind’ConvertPacking.m3.c:9856: error: incompatible type for argument 2 of ‘ConvertPacking__GetWordKind’...other errors
I haven't run anything.
My plan is not to run anything until I can compile/link cm3, and then run that.
Hm.. -- all those -I  options aren't really desired. They were for compiling user-written C code in libm3...not for backend-generated C. But that isn't really a problem.
I also know some stuff needs work, like supporting arbitrary struct sizes.I predeclare up to a certain size.

 - Jay

From: hosking at cs.purdue.edu
Date: Fri, 14 Sep 2012 10:51:37 -0400
To: jay.krell at cornell.edu
CC: m3devel at elegosoft.com
Subject: Re: [M3devel] changed to "builder" for C backend

Let’s hold off on committing the change to the trunk until you’ve had a chance to do more testing.

On Sep 14, 2012, at 9:20 AM, Jay K <jay.krell at cornell.edu> wrote:attached are a good stab at the changes..they are working for me..thoughts?approval?I can wait for things to be working more...
What’s not working?

<3.txt>
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120914/90950fa7/attachment-0002.html>


More information about the M3devel mailing list