[M3devel] help booting I386_DARWIN?
Tony Hosking
hosking at cs.purdue.edu
Thu Jul 2 15:42:31 CEST 2009
Best to upgrade xcode.
On 2 Jul 2009, at 04:59, Jay wrote:
>
> Right. Look at I386_DARWIN.
> It probes for this.
> You have two choices.
> - difficult -- put a newline after each lock
> Their assembler does understand that I recall.
>
>
> - get a newer assembler; that's what I did
> I386_DARWIN will tell you what version I used, I don't know if
> older works.
>
>
> or maybe we could/should change cm3cg here.
> Heck, maybe there's a change in Apple's gcc to merge in.
>
>
> Or maybe, heck, just remove all occurences of lock.
> You only have one processor, right?
>
>
> - Jay
>
>
>
>
>
>
>
>
>
>
>
> ----------------------------------------
>> To: jay.krell at cornell.edu
>> Date: Thu, 2 Jul 2009 01:55:58 -0700
>> From: mika at async.caltech.edu
>> CC: m3devel at elegosoft.com
>> Subject: Re: [M3devel] help booting I386_DARWIN?
>>
>> Jay, all right, GetPC returns 0, and moving on....
>>
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% make
>> Makefile:3312: warning: overriding commands for target `UnixLink.c.o'
>> Makefile:687: warning: ignoring old commands for target
>> `UnixLink.c.o'
>> as M3Buf.ms -o M3Buf.ms.o
>> M3Buf.ms:1610:operands given don't match any known 386 instruction
>> M3Buf.ms:1618:operands given don't match any known 386 instruction
>> make: *** [M3Buf.ms.o] Error 1
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% sed -n
>> 1610,1618p M3Buf.ms
>> rep movsl
>> movl %edx, -2184(%ebp)
>> leal -2048(%ebp), %eax
>> movl %eax, -2188(%ebp)
>> movl $509, -2192(%ebp)
>> movl -2184(%ebp), %edi
>> movl -2188(%ebp), %esi
>> movl -2192(%ebp), %ecx
>> rep movsl
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika%
>>
>> No this is what I have:
>>
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% sw_vers
>> ProductName: Mac OS X
>> ProductVersion: 10.4.11
>> BuildVersion: 8S2167
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% gcc -v
>> Using built-in specs.
>> Target: i686-apple-darwin8
>> Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure
>> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
>> --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/
>> ^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --
>> build=powerpc-apple-darwin8 --with-arch=pentium-m --with-
>> tune=prescott --program-prefix= --host=i686-apple-darwin8 --
>> target=i686-apple-darwin8
>> Thread model: posix
>> gcc version 4.0.1 (Apple Computer, Inc. build 5250)
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika%
>>
>> odd that it would work for you... hmm I wonder, maybe the Xcode needs
>> updating?
>>
>> A little tricky in that case since I don't have console access and
>> am not really a Mac guru.
>>
>> Mika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090702/15f60d69/attachment-0002.html>
More information about the M3devel
mailing list