mrd@SUN.MCS.CLARKSON.EDU ("Michael R. DeCorte") (08/17/87)
I am trying to port gnu (18.47 I believe) to an opus card.
An opus card is a card with a clipper chip set running sys V.3
that fits into an AT. Well I am having a few problems and
was wondering if someone has already done it for me? If not
I have two questions.
1) this thing wants to link with '__start'. I don't know
how to deal with this. It should be able to link with
'start' in crt0 shouldn't it? I was able to avoid the
problem by defining 'CANNOT_UNEXEC' but this shouldn't be
necessary.
2) My compiler passes the first two arguments to a function call
in registers. Well it is sort of hard to take the address of
a register so I defined "NO_ARG2_ADDRESS" and put a little hack
to fix it everywhere that the compiler complained. Ex.
before
a = &arg1;
after
#ifdef NO_ARG2_ADDRESS
{
int cp_arg1=arg1;
a = &cp_arg1;
}
#elseif
a = &arg1;
#endif
Anybody not like this for any GOOD reason?
thankyou
Michael DeCorte
mrd@clutx.clarkson.edu
ron@topaz.rutgers.edu.UUCP (08/18/87)
Yes, why don't you get the blasted opus people to fix their C compiler. I was going to buy one of those things, but if they're going to deliver a broken C compiler with it, I've got enough other brain damaged machines to deal with. -Ron