defmod fails to build
Tony van der Hoff
tony at mk-net.demon.co.uk
Wed Jun 6 10:00:03 BST 2001
On 5 Jun 2001, Stewart Brodie <stewart.brodie at pace.co.uk> wrote:
> Please could somebody tell me where error_ESCAPE and error_STK_OFLO are
> defined? I've searched all the archives I've downloaded and I can't find
> it.
>
They're both defined in core.oslib.h.os. This is probably not correct, as
this header is itself generated by DefMod, so it won't work on a clean
build. They ought to be defined elsewhere for a DefMod build. I'll give that
some thought.
> If anybody's interested, I built OSLib on our dual-processor FreeBSD box (2
> x P3-500) today with my new portable version of defmod: it built the object
> code, complete set of C header and complete set of assembler headers in 1
> minute 9 seconds. I hope to get this down under a minute when we put it on
> our new build machine. :-)
>
Sounds useful. Would you like to send me the diffs, so that I can make a
public release?
> The new implementation of cstrong.c in the latest defmod is a real problem
> because it uses the exception library :-(
>
It's used by other modules as well, but probably not as extensively. I don't
think DefMod was ever intended to be particularly portable (Jonathan will
probably correct me), using RISC OS calls as necessary, so I consider it
quite an achievement that you have accomplished it in any case.
Why is the exception libray a problem, Stewart? I think it's all legal C.
Presumably you've had to port MessageTrans and its friends in any case.
--
Tony van der Hoff | MailTo:tony at mk-net.demon.co.uk
| MailTo:avanderhoff at iee.org
Buckinghamshire, England | http:www.mk-net.demon.co.uk
More information about the oslib-team
mailing list