OSLib and ELF

John Tytgat John.Tytgat at aaug.net
Thu Apr 12 23:52:23 BST 2007


In message <gemini.jgeev7002fu6z03qs.stewart at metahusky.net>
          Stewart Brodie <stewart at metahusky.net> wrote:

> > The -j make option.  Basically doing more than one build step at the same
> > time.  Keeping multicore/cpu happy.  It roughly cuts build times in 2 or
> > 3.
> 
> Does that *really* matter all that much?  Last time I cross-compiled OSLib,
> it only took 45 seconds or so for a full build from clean but, admittedly
> that was probably 7-8 years ago, but I can't believe that it's got slower in
> the meantime, has it?

Actually on my machine (AMD 64 X2 4400+ based):

real    4m5.554s
user    3m1.671s
sys     0m53.119s

> I don't understand why you can't use the same Makefiles for cross-compiling
> and native compiling - is it not just a case of a different CC and LIB
> macros?

Exactly, that's where I want to go.

> I thought I'd submitted all those changes to the project when I
> did them, which would be at least 7-8 years ago now.  Perhaps it was just
> the patches that meant you could compile up defmod itself for Linux or
> Solaris. Sorry, if that's so - I no longer have any RISC OS source trees :-/

I can't answer that.  Your defmod changes are certainly there,

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven



More information about the oslib-user mailing list