[Coco] More progress
Stephen Castello
zootzoot at cfl.rr.com
Sun Dec 28 17:13:47 EST 2008
On Sun, 28 Dec 2008 16:48:16 -0500 (EST), Steven Hirsch
<snhirsch at gmail.com> had a flock of green cheek conures squawk out:
>On Sun, 28 Dec 2008, Boisy Pitre wrote:
>
>> Steve,
>>
>> mamou cannot process rma style assembler files, just the 'asm' style ones.
>> Using 'rma' from toolshed should assemble this code, so try that.
>
>Got it. Thanks!
>
>Coming up with missing symbols at link:
>
>Unresolved references:
> _stkcheck hello_c in hello.r
> errno io_a in /dd/lib/clib.l
> _flacc io_a in /dd/lib/clib.l
> memend mem_a in /dd/lib/clib.l
> _mtop mem_a in /dd/lib/clib.l
> _stbot mem_a in /dd/lib/clib.l
> errno syscommon_a in /dd/lib/clib.l
>
>These look like they should be compiler-generated. In Unix, I'd expect
>the init stub to define them. What is the equivalent in OS-9? I grepped
>through the sources for rlink, rma, cprep, etc. and could find only the
>place where code is generated that references, e.g. _stkcheck and errno.
>
>Is there a stub library that needs to be included in the link command?
>
>I'm doing:
>
>$ rlink -l=/dd/lib/clib.l -o=hello hello.r
>
IIRC, it's cstart.r the one you're missing.
Stephen
More information about the Coco
mailing list