This article is from the FAQ, by with numerous contributions by others.
If you are using a Linux version with support for the ELF libraries, the
Mjolner System (release 3.1) cannot be used immediately. You will have to
introduce the following patch:
1. Make sure that /usr/lib/crt0.o can be found. E.g. do this:
pushd /usr/lib; ln -s /usr/i486-linuxaout/lib/crt0.o; popd
2. Make sure the linker is called with "-m i386linux", either by adding
LINKOPT linux '-m i386linux';
in the top of basiclib/v1.4/private/betaenv_unixbody.bet, or
(preferable) by adding this in your .bashrc (or the corresponding stuff
in your .tcshrc):
export BETALINKOPTIONS='-dc -dp -X -m i386linux';
The BETALINKOPTIONS environment variable sets *all* options to the
linker, that is why you have to set the other stuff in the variable
too.
Disclaimer: This has not been tried with the Motif libraries, but it ought
to work.
Thanks to Erik Ernst <eernst@daimi.aau.dk> and Stephen J Bevan
<bevan@cs.man.ac.uk> for their investigations on this subject.
 
Continue to: