Porting Kaffe to another operating system

Raffaele Sena raff at aromatic.com
Tue Sep 29 14:52:48 PDT 1998


On Wed, 30 Sep 1998, Andrew Teirney wrote:

>  Could these problems be caused by the jthreads system not working properly
   or have I completely missed something that I need to have done. BTW the
   native functions are statically linked as dynamic linking is not possible
   at the moment.

	I think I tried both internal and jthreads on ARM/Linux
	(I confess, not lately). I'm using Kaffe on NetWinder
	and it works fine. The only think I did to make it working
	was to correctly define the offset for the stack pointer
	in the jmp_buf structure. I don't know how RiscOS is compatible
	with the Linux port but you may want to check that.

	Also, I'm running Kaffe dynamically linked. I just copied
	the same commands from (if I remember well) the i386 port
	(and then, I never find the time to post them ):

hope this help,

	Raffaele

Index: config.frag
===================================================================
RCS file: /home/cvspublic/kaffe/config/arm/linux/config.frag,v
retrieving revision 1.1
diff -r1.1 config.frag
7,10c7,14
< # 
< # We do not support shared libraries yet
< #
< dynamic_libraries=no
---
> PIC=-fPIC
> LIBSHARE=-shared
> LIBEXT=.so
> # Uncomment the following two lines to make the VM part of
> # the invocation program (kaffe).  This is necessary for debugging
> # on some systems (notable Redhat 5.0).
> # KAFFELINK="-Wl,--export-dynamic"
> # vm_dynamic_library=no

-------------------------------------------------------------------------
raff at aromatic.com           (::)           http://www.aromatic.com/~raff/
                  http://www.aromatic.com/



More information about the kaffe mailing list