|
|
|
| Oninit® Tool Kit |
|
Just a collection of things that might allow you to fix your dead instance, but
Caveat emptor; there is NO warranty on these tools and if you don't know
what you are doing then you will make things worse.
Oninit® accept no
responsibility for the reliability of any program that
you download from this site. We believe that they work in
all versions. If you do encounter any problems, however,
please email
us and we will endeavour to find a solution.
The Makefile for Solaris and Linux and the GCC compiler is below.
# hard gcc options
OPTS=-g -ansi -Wall -O3 -Wshadow -Wstrict-prototypes -Wmissing-prototypes
-pedantic -static -std=c99
CC=gcc
all:
make `uname`
SunOS: ondump.SunOS
ondump.SunOS: ondump.c
${CC} -xarch=v9 -DSUNOS -o ondump ondump.c
${CC} -xarch=v9 -DSUNOS -o onpatch onpatch.c
Linux: ondump.Linux
ondump.Linux: ondump.c
${CC} ${OPTS} -DLINUX -o ondump ondump.c
${CC} ${OPTS} -DLINUX -o onpatch onpatch.c
clean:
rm -f *.o ondump onpatch
|
| |
| |
|
|
|
|
|