This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gas=yes issues in configure
- To: egcs at cygnus dot com
- Subject: gas=yes issues in configure
- From: Richard Henderson <rth at twiddle dot rth dot home>
- Date: Sun, 5 Apr 1998 17:00:25 -0700
- Reply-To: Richard Henderson <rth at cygnus dot com>
The use of gas=yes in the big target switch is broken for cross
builds. Forcing gas=yes is clearly only desired when configuring
the target, yet we wind up doing it as well for the build and host
machines as well.
What is the preferred solution? Testing
if [ "$machine" = "$target"]; then
gas=yes gnu_ld=yes
fi
seems tedious. Perhaps a target_gas=yes in the switch, that is
cleared out with the rest of the variables at the top, and afterward,
use gas=${gas-$target_gas}?
r~