[M3devel] help booting I386_DARWIN?

Jay jay.krell at cornell.edu
Thu Jul 2 10:46:26 CEST 2009


Just change the function GetPC to return 0 and move on, for now. We'll fix it correctly "later".
I assume you are running 10.5?
It worked for me on 10.4. There might be an #ifdef we can use to make it work on both.
 
 - Jay


----------------------------------------
> To: jay.krell at cornell.edu
> CC: m3devel at elegosoft.com; jayk123 at hotmail.com
> Subject: RE: [M3devel] help booting I386_DARWIN?
> Date: Thu, 2 Jul 2009 01:06:51 -0700
> From: mika at async.caltech.edu
>
> Jay that's pretty nifty. The "cross" part of the build went fine (I
> figured out your config thing too), but it dies on the target:
>
> as PolyBasis.ms -o PolyBasis.ms.o
> as Main.is -o Main.is.o
> as WeakRef.ms -o WeakRef.ms.o
> as Word.ms -o Word.ms.o
> as Long.ms -o Long.ms.o
> gcc -g -fPIC -c hand.c -o hand.c.o
> gcc -g -fPIC -c dtoa.c -o dtoa.c.o
> gcc -g -fPIC -c libgcc.c -o libgcc.c.o
> gcc -g -fPIC -c RTLinkerC.c -o RTLinkerC.c.o
> gcc -g -fPIC -c RTOSmmap.c -o RTOSmmap.c.o
> gcc -g -fPIC -c RTSignalC.c -o RTSignalC.c.o
> RTSignalC.c: In function 'GetPC':
> RTSignalC.c:91: error: 'struct mcontext' has no member named 'sc'
> make: *** [RTSignalC.c.o] Error 1
> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% uname -a
> Darwin unknown-00-17-f2-4c-66-5c.home 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika%
>
> Am I perhaps using a hopeless version of OS X?
>
> Mika


More information about the M3devel mailing list