This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gas=yes issues in configure


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]