Philip Newton wrote: > > On Mon, 6 May 2002 00:12:38 +0100, [EMAIL PROTECTED] (Nicholas Clark) > wrote: > > > Cross building means cross configuring, surely? How does a cross > > Configure determine what the target can do, when it is running on > > the build host? > > [As other programs are able to cross build, what magic do they use?] > > I've seen docs which imply "scp + ssh" (or "ftp + rsh", or whatever) > to copy intermediate test programs to the runtime platform, execute > them, and copy the results back to the Configure platform and analyse > them.
If Configure is ever changed to make cross-compiling easy, I suspect that it will need to be reorganized into two parts -- one which simply asks the user questions about what kind of platform is desired, and the other of which does the actual probing of the system; by isolating the probing of the system, it will be easier to add whatever's needed (such as ftp/rcp/scp/rsync and rsh/ssh) to make it so that those probes occur on some other machine. -- print reverse( ",rekcah", " lreP", " rehtona", " tsuJ" )."\n";
