Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 17:10:11 +0200
From:      Thomas Runge <runge@rostock.zgdv.de>
Cc:        'FreeBSD Hackers mailing list' <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Motif porting discussions on -java
Message-ID:  <392164D3.C33AF6F3@rostock.zgdv.de>
References:  <59063B5B4D98D311BC0D0001FA7E4522026D752B@l04.research.kpn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Koster, K.J." wrote:
> 
> Just to let the non-java hackers know, there is some Motif porting
> discussion going on on freebsd-java. You may want to have a looksee there if
> you're working on Motif too. :)

Seems, that nobody made a port upto now :-)

So, here are my experiences with openmotif.
There is a problem with motif's own version of imake. You can
copy imakemdep.h from xfree's imake or just use XFree's imake
itself.
Copy/link Imake.tmpl, Motif.rules and Motif.tmpl (from config/cf) to
/usr/X11R6/lib/X11/config for that.

And now it gets tricky. lib/Xm/TextF.c needs some wide-charachter
functions, that are not present in our libc.
You can find a lib with these functions here:
http://www.cs.rpi.edu/~crossd/FreeBSD/wcs-19990606.tar.gz

I got the needed functions and just copied into the motif-
sourcefile.
Ah. For shared libs. You need to make the symlinks from
libXX.so.a.b to libXX.so manually, if you don't do it, the
linker will take the static libs.

Well, thats an evil hack, but it gets you started until someone
with more time and knowledge makes a "good" port :-)

Enjoy.

-- 
Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?392164D3.C33AF6F3>