--with-as and --with-ld fail with non-GNU programs

Alexandre Oliva oliva@dcc.unicamp.br
Sat Apr 3 14:49:00 GMT 1999


On SunOS 4.1.3, for example, --with-ld=/usr/bin/ld would cause:

/home/phd/oliva/src/egcs/gcc/configure: test: argument expected
Configure in /l/dsk01/temp/egcs/gcc failed, exiting.

It would also misreport non-GNU as and ld as if they were GNU
programs, because some variable names have been changed but the test
that reported the result have not.

The attached patch was installed, based on the ``obviously correct''
rule (Am I pushing it too far?)

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists


More information about the Gcc-patches mailing list