[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Ruby on microblaze-uclinux
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: [microblaze-uclinux] Ruby on microblaze-uclinux
- From: "Wei Xu" <wei.xu.0@xxxxxxxxx>
- Date: Thu, 30 Mar 2006 12:40:40 -0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HmOlshChVFLUbZ/szvVTV/9+TNzAUFWS1xAiZYJyUTLsrEipW0kZeeTFef4fYKzO6kro4jMlIPCJ+QxYsr1BfySlx86H71310vBlQSaegAGFORFqU3YQibdjlZOykaw7v22maCTSc+1v2V+Bkd56OFg6HIAhU3mPO29IUlgS/t4=
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
Hi, all,
Has anyone made Ruby working on uclinux on microblaze?
Currently I can link the ruby executable (disabling some tests in
configure, and disable the build of ext modules by setting option
nodynamic ). I used a host Ruby interpreter instead of the miniruby
to run the last few steps of build and install. (extmk.rb and
instruby.rb)
Ruby can be started on the target, but fails to run with error messages like
ruby < /usr/local/bin/ri
-:19: unexpected return
Any idea on why this happens would be very useful.
The compiler switch I used:
-Os -g -fomit-frame-pointer -fno-common -fno-builtin -Wall
-msoft-float -mno-xl-soft-mul -mxl-soft-div -DEMBED -Dlinux
-D__linux__ -Dunix -D__uClinux__ -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1
-DHAVE_PATHS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1
-DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1
and for linker
-Wl,-elf2flt
Thanks in advance,
Wei
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/