Compiling Guide
Note: you need the gcc c compiler.
The reason is I use the "labels as values" feature for the execution engine.
And gcc is the only compiler which can do that. But this isn't really a problem
as gcc exists on nearly every platform.
Change to the source directory.
And then the usual:
$ ./configure
$ make
$ su
# make install
Porting nano
Makefile
CFLAGS set the needed compiler options
LDFLAGS
include/
host.h
Define a new machine and OS type.
Set endianess.
Set CLOCKS_PER_SEC if needed.
PATH_SLASH_CONV set TRUE, if OS uses backslash in paths.
vm/
arch.h
wait_sec Use the delay functions of your OS.
wait_tick
exe_socket.c If your OS doesn't support BSD sockets, you have to change
some stuff there.
exe_process.c Process handling. This is platform dependent code.
Prev: Installation
|