[vbox-dev] movzx error compiling on Mac OS X
Kyle Harrigan
kwharrigan at gmail.com
Fri Aug 31 14:24:25 PDT 2007
Excellent. Thanks Knut I'll try this out.
I'd like to get the code cranking so I can help contribute. I've heard
there aren't enough Mac OS X guys and I'd like to get involved. First step
is getting a proper compilation. :)
Kyle
On 8/31/07, Knut St. Osmundsen <bird at innotek.de> wrote:
>
> Kyle Harrigan wrote:
> > kBuild: Compiling RuntimeR3 - generic/critsect-generic.cpp
> > {standard input}:772:no such 386 instruction: `movzx'
> >
> > Any ideas? This is Intel Mac btw.
>
> It's a compare and exchange function from include/iprt/asm.h that's
> causing this. The thing is it works fine with the gnu assembler and I've
> never seen it on mac os x myself yet. Anyway, I'll change the 2-3 uses
> of it movzbl and see if that helps. If it still doesn't work I would
> need to know the assembler version, the 'as -v' output.
>
> There are a couple of other build breaks on the mac at present that
> we're working on correcting. The first one is in generic/env-generic.cpp
> and the second is that the kLdr stuff on svn.netlabs.org is going thru
> some refactoring. The first issue you can work around (if I haven't got
> around fixing it by then) by just make a dummy "char **environ = NULL;"
> global variable. The second issue you can work around by checking out
> the kLdr code from a month ago.
>
> Kind Regards,
> knut
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
--
-Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20070831/4641cfd6/attachment-0001.html
More information about the vbox-dev
mailing list