Node:Atari Compiling, Next:Atari Using, Previous:Atari Installation, Up:Atari Installation
gawkon the Atari ST
A proper compilation of
gawk sources when
sizeof(void *) requires an ISO C compiler. An initial
port was done with
gcc. You may actually prefer executables
ints are four bytes wide but the other variant works as well.
You may need quite a bit of memory when trying to recompile the
sources, as some source files (
regex.c in particular) are quite
big. If you run out of memory compiling such a file, try reducing the
optimization level for this particular file, which may help.
With a reasonable shell (
bash will do), you have a pretty good chance
configure utility will succeed, and in particular if
you run GNU/Linux, MiNT or a similar operating system. Otherwise
sample versions of
Makefile.st are given in the
atari subdirectory and can be edited and copied to the
corresponding files in the main source directory. Even if
configure produces something, it might be advisable to compare
its results with the sample versions and possibly make adjustments.
gawk source code fragments depend on a preprocessor define
atarist. This basically assumes the TOS environment with
Modify these sections as appropriate if they are not right for your
environment. Also see the remarks about
gawk on the Atari ST.
As shipped, the sample
config.h claims that the
function is missing from the libraries, which is not true, and an
alternative implementation of this function is provided in
Depending upon your particular combination of
shell and operating system, you might want to change the file to indicate
system is available.