Clean on FreeBSD using Linux ELF?

William Wanders wwanders@sci.kun.nl
Sat, 6 Dec 1997 19:59:43 +0100 (MET)


> Hello,
> 
> First an apology: my query is not related Clean Language directly.
> 
> My question is:
> 
> Has anyone succeeded in running Linux ELF version of Clean on
> FreeBSD?  I'd like to try it but wanted to hear other people's experience

Yep, it is possible. With the older versions of Clean for Linux a.out
it was even possible to generate native FreeBSD executables by patching
clm and using a heavily binary hacked version of _startup.o. I used
a Clean 1.0 compiler for Linux a.out under FreeBSD 2.1 upto 2.2.1 that
way.

If you would like to use the Clean for Linux ELF compiler you
will need to install the linux libs-0.4 and devel-0.2 package. After
that you can install Clean for Linux out-of-the-box under FreeBSD.
It may be necessary to upgrade the version of the linux ld.so and
libc.so/libm.so libraries for future versions.

> (maybe via personal emails as unix folks seem to be a minority among Clean
> people).
Well it will probably stay a minority if the only supported UNIX platforms
remain SunOS413, Solaris2.5 and Linux (a.out/ELF).
It would certainly be nice to have native Clean compiler for FreeBSD.
And for that matter also for NetBSD, BSDI, SGI, HPUX, SCO ISC and so on.

William Wanders.