OSLib Unix-build

Tony van der Hoff tony at mk-net.demon.co.uk
Tue Apr 15 14:47:00 BST 2003


On 15 Apr 2003, in message <69257ee34b.sbrodie at sbrodie.cam.pace.co.uk>,
Stewart Brodie <stewart.brodie at pace.co.uk> wrote:

> In message <d3d17be34b.Tony at mk-net.demon.co.uk>
>           Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:
> 
> > I have re-commenced the port of the OSLib build environment to Linux; all
> > well so far, thanks to Philip and Dave for their input.
[snip]
> > Stewart Brodie started the ball rolling for (3) with the port of DefMod.
> > It's not a full build environment, as it does not generate the StrongHelp
> > files. I'm not sure how much this is used nowadays, but it's only polite
> > to continue to support this one as much as we can; unfortunately we do
> > not have Solaris  available for testing, so I suspect that it'll drift
> > into disuse without ==20 help from someone at Pace.
> 
> I think the problem with the StrongHelp files was my total failure to
> understand how to call the tool that built the files: if I'd realised when
> I started that you had to give it a *directory* name and not a filename,
> it'd have just worked :-)
> 
Yes, I remember that now :-)

> There's not been anybody at Pace working with RISC OS for a long time now,
> and they're not going to start, because we've all been laid off.
> 
Very sad. Especially after spending all that effort protecting IPR...
> 
[snip]
> 
> It shouldn't be too hard.  Probably the easiest way to support different
> toolchains is to have the ability to specify a script which is executed in
> order to assemble or compile a file.  Provided that you define the
> interface to the script carefully, people can plug in anything they like,
> which would make cross-compilation easier.
> 
Yes, I'm thinking along those lines...

> Another key thing to remember is that when you are compiling all this stuff
> with gcc, you MUST ensure that characters are *unsigned* by default.  That
> is, use -funsigned-char to make sure you don't mess it up.
> 
Thanks for the tip.

While I have your ear... What is the reason you decided to create all those
symbolic links to the support files in UNIX DefMod build? It works fine, but
is maybe a bit messy, and certainly doesn't fit easily with a cross-platform
toolchain.

-- 
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-user mailing list