<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
On Fri, 2005-04-22 at 09:52 -0600, Al Stone wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Fri, 2005-04-22 at 10:18 -0500, Chris Lattner wrote: </FONT>
<FONT COLOR="#000000">> Would passing one option, "--enable-arch=host", be ok?</FONT>

<FONT COLOR="#000000">If what you mean is that "--enable-arch=host" would build only the</FONT>
<FONT COLOR="#000000">host target, that could work.  "--enable-arch=host-only" or something</FONT>
<FONT COLOR="#000000">_might_ be clearer.  So let me see if I can paraphrase: the proposal</FONT>
<FONT COLOR="#000000">is to add a new configure option to the build, "--enable-arch" (or</FONT>
<FONT COLOR="#000000">"--enable-target" -- either works for me).  One can provide comma</FONT>
<FONT COLOR="#000000">separated parameters to "--enable-arch" as follows:</FONT>

<FONT COLOR="#000000">   -- "all": the default, which builds all targets, regardless of</FONT>
<FONT COLOR="#000000">      the host for the build</FONT>
<FONT COLOR="#000000">   -- "host" (or "host-only"): build only the code generators for</FONT>
<FONT COLOR="#000000">      the current build host</FONT>
<FONT COLOR="#000000">   -- "c", "x86", "ppc", ... : build only the code generators for the</FONT>
<FONT COLOR="#000000">      named targets (hmm, maybe '--enable-target' is better..).</FONT>

<FONT COLOR="#000000">If that's what you meant, it sounds good to me... but I reckon</FONT>
<FONT COLOR="#000000">Reid gets to have a say, too :).</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Yeah, that's pretty much exactly it, with one exception. I was planning to *always* build the CBackend and Skeleton targets. Both are pretty fast to build and it gives LLVM *some* kind of target to fall back on. Given that, we might also want to have an option for "none" so that no processor targets are built, just the CBackend and Skeleton.<BR>
<BR>
Thoughts?<BR>
<BR>
Reid
</BODY>
</HTML>