<!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 08:15 -0500, Andrew Lenharth wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">-enable-targets=x86,alpha,sparcv9</FONT>
<FONT COLOR="#000000">-link-targets=alpha,host</FONT>
<FONT COLOR="#000000">Valid options for both are:</FONT>
<FONT COLOR="#000000">the names of the targets</FONT>
<FONT COLOR="#000000">host</FONT>
<FONT COLOR="#000000">all</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
As others have agreed, this is a much better approach than the one I was thinking of. Its harder to parse in the configure script, but I can probably find a way to do it.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">where all is the default for both items</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
There has been some debate about the default value. I tend to agree with Chris on this. The default should be "all" so that everything gets tested by default. More sophisticated users can limit the targets that are built by merely typing -enable-targets=host on the configure line; not a big deal in my books. One other problem with making the default build only one or some of the targets is that it will (currently) cause the dejagnu tests to fail because llc won't know about certain targets that are in the test suite. <BR>
<BR>
Rei.d<BR>
<BR>
</BODY>
</HTML>