Re: Emulated buildds (for SCC architectures)?
Karsten Merker <karsten@excalibur.cologne.de> writes:
> On Fri, Mar 18, 2005 at 06:58:50PM -0800, Thomas Bushnell BSG wrote:
> > Peter 'p2' De Schrijver <p2@mind.be> writes:
> >
> > > A much faster solution would be to use distcc or scratchbox for
> > > crosscompiling.
> >
> > Debian packages cannot be reliably built with a cross-compiler,
> > because they very frequently need to execute the compiled binaries as
> > well as just compile them.
>
> I suppose the idea is to use distcc and a crosscompiler - that way
> the .c files are compiled to .o on a fast architecture with a
> crosscompiler, but the configure scripts, linker and so on run natively.
Right, but upstream makefiles don't work this way, and often
interleave compilation and execution of native code.
Consider a program that has its own source-code-building widget, which
it needs to compile and run to generate more code to compile.
Reply to: