Holm Tiffe <holm at freibergnet.de> wrote:
I don't tought that you are still trying on this
problem Olli :-)
I found
http://code.google.com/p/unix-jun72 some days ago which gave
me a feeling of "lets try again" ;)
My opinion is, that they really used an earlier
compiler version
for compiling some of the files..
Might be the case. Especially when you look through the disassembled
programms and you see that the programs are compiled with different
startup routines (crt0.s). Some programs are compiled using a PLZ/ASM
startup routine, some are compiled using a C-Assembler module. Some
modules containing a *whatstr[] some dont... really looks like Zilog
just recompiled programs when something changed and not recompiled
everything for a new version of ZEUS (what this WEGA is). This sucks
man ;) I want to get a 1:1 compilation result :/
With different crt0.s I can cope - with compilers generating different
ASM code I can't.
sync(M) was easy ;)
#81 cas -u -o compat1crt.o compat1crt.s
#82 cc -O -c sync.c
#83 ld -o sync -e start compat1crt.o sync.o -lc
#84 strip sync
#85 cmp sync /bin/sync
#86
BTW: Is the C-development package identically over the
different WEGA
versions? Maybe an older Wega will compile this like you want?
I'm not sure about WEGA versions < 3.0 but 3.0 and 3.1 have the same
C-Compiler. I'm pretty sure The WEGA-crew didn't had any sourcefiles
to their operating system. I talked once to Peter Hoge (The Kernel
developer of WEGA) and he told me all they did was disassembling
stuff they needed to change and then re-inventing the wheel
(basically doing what I'm doing now). They had no sources. Just
access to a S8000 system where they stole.... err.... "adjusted"
the operating system from ;)
Regards, Oliver