embedded R8B-0 on linux

Vance Shipley <>
Mon Nov 26 20:51:35 CET 2001


For whatever reason the maintainers limit support for
embedded systems to Solaris and VxWorks in the build
files.  If anyone else wants Linux support for embedded
systems the attached patch let's you build and install
an embedded system from the R8B-0 distribution.

In the build directory (e.g. /usr/local/src/otp_src_r8B-0)
do:

	patch -p0 < embedded_linux.patch

Run configure with the prefix set to the target embedded
directory:

	./configure --prefix=/home/otpuser 

Build and install the system:

	make
	make install

In the embedded directory you will want to make the directory
lib/erlang/log.  If you want to run the default installed embedded 
system you will need to create a configuration file as
lib/erlang/releases/R8B/sys.config.  If you don't need any specific
changes just use the empty list and a terminating period:

	[].

You can now run lib/erlang/bin/start to start the system running.
Connect to it with lib/erlang/bin/to_erl, this will give you a shell
on the running node.  Use <CTRL>-D to exit without stopping the node.

	-Vance

	
Vance Shipley
Motivity Telecom Inc.
+1 519 579 5816
-------------- next part --------------
A non-text attachment was scrubbed...
Name: embedded_linux.patch
Type: application/octet-stream
Size: 2524 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20011126/24d335e4/attachment.obj>


More information about the erlang-questions mailing list