Attached is an updated patch for initial illumos support.

I've built against a current checkout, and nothing has broken

This differs from the previous patch I sent only slightly. The
patch doesn't remove libtt.elist, it tweaks INSTALL, and some
of the line numbers have changed due to other patches being
applied in the meantime.

To build on illumos, once I have openmotif installed and
a copy of the Sun compiler in /opt/SUNWspro, I just:

cd cde
rm lib/tt/lib/libtt.elist
mkdir -p imports/x11/include
ln -s /usr/include/X11 imports/x11/include
make World.dev
# fails; edit programs/Imakefile so as to remove
# dtinfo, dtksh, dtappbuilder, ttsnoop from SUBDIRS
make World.dev
make -k install DESTDIR=/tmp/foo
make -k install.man DESTDIR=/tmp/foo

Handling libtt.elist properly still needs to be fixed, but
that looks like the script that takes the elist file and
combines it with c++filt output to create the linker mapfile
needs to be fixed.

So far, I haven't managed to get dtinfo, dtksh, dtappbuilder,
or ttsnoop to build (although I've made a fair amount of
progress with dtinfo).

Applications such as dtpad, dtcalc, and dtterm start and
appear to function correctly. There's no help, because
creating that requires dtinfo. There's a problem with dtlogin,
if you select any menu options it block keyboard input, and
dtwm doesn't really work. But actually having things build
in the first place is a necessary first step for further work.

One comment on the code. Many of the changes I've needed
to make (and attempts to fix other areas have the same
problem), basically involve an #if to guard against
#include <osfcn.h>
Are there any platforms in existence for which osfcn.h is
actually relevant?

Thanks,

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

Attachment: 0001-initial-illumos-port.patch
Description: Binary data

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to