Compiling under Unix/Linux

Philip Ludlam philip at philipnet.com
Thu Jan 9 16:28:33 GMT 2003


On 9 Jan, in message <7f8024b24b.Tony at mk-net.demon.co.uk>
  Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:

>On 9 Jan 2003, in message <64f119b24b.philip at philipnet.com>,
>Philip Ludlam <philip at philipnet.com> wrote:
>
>> On 9 Jan, in message <e07f0bb24b.sbrodie at sbrodie.cam.pace.co.uk>
>>   Stewart Brodie <stewart.brodie at pace.co.uk> wrote:
>> 
>> >In message <d44cbab14b.philip at philipnet.com>
>> >          Philip Ludlam <philip at philipnet.com> wrote:
>> >
>> >> Dear All,
>> >> 
>> >> Just for the hell of it (well not exactly) I've been working on getting
>> >> OSLib to compile and build under Unix/Linux.
>> >
>> > Does it not just work?  defmod should work just fine under Solaris (SPARC
>> > and Intel) and Linux (i686) ...

[snip]

>Thanks to Stewart, Defmod is fully portable, but a number of issues remain
>in respect of the other tools. Building the StrongHelp manual is probably the
>worst of these;

As StrongHelp is not available under Linux the process of creating a
StrongHelp file/manual won't be easy. The simplest thing to do would
be to create the directory structure and files that would go in it. A C
program (to be written) could then take the root directory for this and
create the manual from it.

[snip: use native bison and rm]

>The only other tool - ReduceAOF - is probably no problem - I think it's
>fully portable; it's a shame we don't have a proper, commented, source! 

Yes, after looking at the source I concluded that ReduceAOF was an
appropriate name :-) 

[snip huge plans for OSLib]
Might I add:
 - taking out the way the source files are split into Computer, Core,
   Macros, Toolbox, Types and User directories
 - having the ability to compile OSLib with gcc under RISC OS.

>So, although Defmod works OK, there is quite a lot of peripheral tidying
>up to be done, and that's why it isn't yet available. I believe it will be
>worthwhile, if only in terms of time-saving during the build process.

Quite - I've never managed to build OSLib on my Risc PC yet - but it
takes minutes on my Linux box :-).

Yours,

Phil L.
-- 
http://www.philipnet.com




More information about the oslib-user mailing list