Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Build Parrot On MacOSx86

0 views
Skip to first unread message

agiles...@gmail.com

unread,
Jan 24, 2006, 1:28:07 PM1/24/06
to
Hi:
Sorry for my pure english, I'm from China.
I'm a ruby user on MacOS , and I just got a MacOSX(10.4.3) Intel
machine.Today I find a project on rubyforge which compile ruby to
parrot bytecode.Because Ruby VM is a little slow now, and YARM is maily
developed by one person, so I think parrot maybe a good option to run
Ruby code faster.(and I think JRuby has no way to implement all ruby
features never)
I download Parrot0.4.1 and try to compile it on my macosx86 box.
After I run Configure.pl , myconfig tell me I'm a ppc machine:

Summary of my parrot 0.4.1 (r0) configuration:
configdate='Wed Jan 25 01:45:08 2006'
Platform:
osname=darwin, archname=darwin-thread-multi-2level
jitcapable=1, jitarchname=ppc-darwin,
jitosname=DARWIN, jitcpuarch=ppc
execcapable=1
perl=perl
Compiler:
cc='gcc -arch i386', ccflags='-g -pipe -fno-common -no-cpp-precomp
-I/usr/local/include -pipe -fno-common -Wno-long-double ',
Linker and Libraries:
ld='c++', ldflags='-L/usr/local/lib -flat_namespace ',
cc_ldflags='',
libs='-lm'
Dynamic Linking:
share_ext='.dylib', ld_share_flags='-dynamiclib -undefined
suppress',
load_ext='.bundle', ld_load_flags='-bundle -undefined suppress'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=double, numvalsize=8, doublesize=8


I think it may be only a problem of JIT support, I turn off JIT option
, rerun configure script ,and Make it.But I still get error messages
about i386 stuff:

src/platform.c:315: warning: 'NSIsSymbolNameDefined' is deprecated
(declared at /usr/include/mach-o/dyld.h:150)
src/platform.c:317: warning: 'NSLookupAndBindSymbol' is deprecated
(declared at /usr/include/mach-o/dyld.h:158)
src/platform.c:323: warning: 'NSIsSymbolNameDefinedInImage' is
deprecated (declared at /usr/include/mach-o/dyld.h:156)
perl -MFile::Copy=cp -e 'cp q|jit/ppc/jit_emit.h|,
q|./include/parrot/jit_emit.h|'
src/jit.c
{standard input}:77:no such 386 instruction: `dcbf'
{standard input}:99:no such 386 instruction: `sync'

What options should I pass it to Configure.pl,and is it possible for
parrot to built on MacOsX86?

Best Regards
WangKe

agiles...@gmail.com

unread,
Jan 24, 2006, 1:32:36 PM1/24/06
to
Sorry!
after :
perl Configure.pl --jitcapable=0

build error is:

src/ops/core_ops_switch.c
as -o src/asmfun.o src/asmfun.s
src/asmfun.s:6:no such 386 instruction: `lfd'
src/asmfun.s:7:no such 386 instruction: `lfd'
src/asmfun.s:8:no such 386 instruction: `lfd'
src/asmfun.s:9:no such 386 instruction: `lfd'
src/asmfun.s:10:no such 386 instruction: `lfd'
src/asmfun.s:11:no such 386 instruction: `lfd'
src/asmfun.s:12:no such 386 instruction: `lfd'
src/asmfun.s:13:no such 386 instruction: `lfd'
src/asmfun.s:14:no such 386 instruction: `lfd'
src/asmfun.s:15:no such 386 instruction: `lfd'
src/asmfun.s:16:no such 386 instruction: `lfd'
src/asmfun.s:17:no such 386 instruction: `lfd'
src/asmfun.s:18:no such 386 instruction: `lfd'
src/asmfun.s:19:no such 386 instruction: `lfd'
src/asmfun.s:20:no such 386 instruction: `lfd'
src/asmfun.s:21:no such 386 instruction: `lfd'
src/asmfun.s:22:no such 386 instruction: `lfd'
src/asmfun.s:23:no such 386 instruction: `lfd'
src/asmfun.s:25:no such 386 instruction: `blr'
make: *** [src/asmfun.o] Error 1

agiles...@gmail.com

unread,
Jan 24, 2006, 1:32:37 PM1/24/06
to
0 new messages