This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas 2.11 problems with gcc
- To: binutils at sources dot redhat dot com
- Subject: gas 2.11 problems with gcc
- From: Matt Schalit <mschalit at pacbell dot net>
- Date: Tue, 05 Jun 2001 16:32:03 -0700
Madam/Sir:
Shouldn't I be able to bootstrap gcc 3.0 using gas-2.11?
I realize this is the bunutils mailing-list and not gcc-bugs.
But I've tried there several times with no response, and I'd
really like to use gas.
On UnixWare 7.1.1, if I rename the native as to as.orig,
then I can force gcc to use gas.
But I can't even get past the first configure test....
The gcc/gcc/config/svr4.h ASM_SPEC makes a -Qy appear,
and that causes gas to error out.
ASM_SPEC
---------
#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"
Error:
-------
/usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.3/as: unrecognized option `-Qy'
Below are the details.....
Thanks for any help!
---------------------------------------------------
Here's what I did:
$ su - root
Password: ******
# mv /usr/ccs/bin/as /usr/ccs/bin/as.orig
# mv /bin/as /bin/as.orig
# exit
$ /usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.3/as --version
GNU assembler 2.11
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i586-sco-sysv5uw7.1.1'.
$ /usr/local/bin/gcc --version
2.95.3
$ pwd
/home/matthew/Uber/CVS/objdir
$ CC=gcc ../gcc/configure
Configuring for a i586-sco-sysv5uw7.1.1 host.
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava target-libchill
(Any other directories should still work fine.)
Created "Makefile" in /home/matthew/Uber/CVS/objdir using "mh-frag"
/usr/local/lib/gcc-lib/i586-sco-sysv5uw7.1.1/2.95.3/as: unrecognized option `-Qy'
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Thank you for reading this far. The ASM_SPEC is set in
<build_dir>/gcc/gcc/config/svr4.h
from what I can gather.
#define ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"
------------------------------------------------------------------------------------
Sincerely,
Matthew