------- Additional Comments From ovidr at users dot sourceforge dot net  
2005-07-07 21:24 -------
I don't know how to do that with the current configure.

Build != Host 
--build=i686-pc-linux-gnu --host=i686-pc-mingw32 --target=i686-pc-mingw32

>From configure.ac:
# If build != host, and we aren't building gas in-tree, we identify a
# build->target assembler and hope that it will have the same features
# as the host->target assembler we'll be using.

(which is wrong in this case)

And configure.ac is using 'test -x' on environment variables $AS and 
$AS_FOR_TARGET, which always have their paths stripped, so I can't set it 
to "/home/gcc/build/crossgcc/bin/i686-pc-mingw32-as" or "i686-pc-mingw32-as" 
and pass the "test -x" test, even though that is the $AS that will ultimately 
be used to assemble. 

Manually changing the "elif test -x "$AS_FOR_TARGET"; then" line in 
gcc/configure to "-n" makes it use the env variable, and sets 
HAVE_GAS_SHF_MERGE 0, which is what I want, but I doubt this is the right way 
to do it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22330

Reply via email to