I now commited to my git repository limited support for running
on Solaris and FreeBSD.  I tested on old Solaris 10 which can
run 64-bit programs, but most of user programs are 32-bit.
My Solaris does not have Sun C compiler, so I only tested with
'gcc' (included in installation).  To use 'gcc' one needs to
specify compiler at configure time like:

CC=/usr/sfw/bin/gcc ./configure

You need to fetch Solaris 'corepop', for example by doing

wget https://poplog.fricas.org/corepops/corepop_solaris.i386

Alternatively, one can use 'pop11' from old pcsolaris tarball:

https://poplog.fricas.org/bham/new/pcsolaris1552.tar.gz

(just rename 'pop11' to 'corepop').

Current 'Makefile' needs GNU make, in my Solaris it was
istalled as '/usr/sfw/bin/gmake' (or just install GNU
make from sources).

Concerning FreeBSD, I tested only 64-bit x86_64 version.
My FreeBSD has no X, so anything graphic remains completely
untested.  My FreeBSD has clang as C compiler, the 'cc'
command runs 'clang', that causes no trouble.  My FreeBSD
has no offical assembler, so I used fake assembler below:

--------------<cut here>----------------------
#!/bin/sh
exec clang -x assembler -c "$3" -o "$2"
--------------<cut here>----------------------

To use it I set value of POP__as like:

/usr/local/bin/make POP__as=/home/hebisch/poplog/as

Note that FreeBSD make is incompatible with Poplog 'Makefile',
one needs to use GNU make.  I installed GNU make from
sources, so '/usr/local/bin/make' above means GNU make.

-- 
                              Waldek Hebisch

Reply via email to