From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: egcs@cygnus.com Subject: gas=yes issues in configure Date: Sun, 05 Apr 1998 17:27:00 -0000 Message-id: <19980405170025.51465@twiddle.rth.home> X-SW-Source: 1998-04/msg00191.html 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~