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]

Re: Serious Solaris problem (effects egcs-1.2)


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



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