[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why are we cross-compiling Debian?



Neil Williams wrote:
> On Thu, 30 Nov 2006 12:13:16 +0000
> Thiemo Seufer <ths@networkno.de> wrote:
> 
> > Rebuilding binaries allows for
> 
> >   better use of (newer) instructions
> >   which aren't in the common generic set, use of (e.g. DSP-like)
> >   instruction set extensions
> 
> Can you give some more information on that?
>
> Do you just mean rebuilding with an updated toolchain or are there
> different compiler options involved too?

Debian packages are usually compiled for a "generic enough" baseline
of compiler options, like i486 for Intel/AMD CPUs. Optimizing for
specific is either not done at all or it involves separate sets of
shared libraries. The latter would be tricky to handle on a small
embedded system, and it requires careful structuring of the project,
something which can't generally be relied on.


Thiemo



Reply to: