This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Serious Solaris problem (effects egcs-1.2)
- To: law at cygnus dot com
- Subject: Re: Serious Solaris problem (effects egcs-1.2)
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 27 Apr 1999 04:48:22 -0300
- Cc: davem at redhat dot com, egcs at egcs dot cygnus dot com
- References: <17743.925192968@upchuck.cygnus.com>
On Apr 27, 1999, Jeffrey A Law <law@upchuck.cygnus.com> wrote:
> In message <199904270557.WAA09921@piglet.twiddle.net>you write:
>> The first question, and an issue I've never been %100 clear on, should
>> we be preferring to use gas by default in any event on such a system?
> I'm not sure either.
> My first thought would be no, since gcc isn't going to find gas in
> this kind of situation.
What if we tried to figure out the full pathname of AS in the cases:
elif test -x "$AS"; then
gcc_cv_as="$AS"
and
elif test x$host = x$target; then
# Native build.
gcc_cv_as=as$host_exeext
fi
and set DEFAULT_ASSEMBLER accordingly? We should probably do the same
for DEFAULT_LINKER, though, in the name of the principle of least
surprise.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{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