pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/30234: IRIX: PKGSRC_COMPILER=gcc uses mk/wrapper/gcc.mk, butcalls/usr/bin/cc(which is MIPSpro)
The following reply was made to PR pkg/30234; it has been noted by GNATS.
From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: Georg Schwarz <georg.schwarz%freenet.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, pkg-manager%NetBSD.org@localhost,
gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/30234: IRIX: PKGSRC_COMPILER=gcc uses mk/wrapper/gcc.mk,
butcalls/usr/bin/cc(which is MIPSpro)
Date: Sun, 15 May 2005 15:51:28 -0400
Georg Schwarz wrote:
> > When the package calls 'cc', our wrapper gets called. Shouldn't our
> > wrapper be smart
> > enough to look at PKGSRC_COMPILER, and realize that when 'cc -version' is
> > called that
> > it outputs 'MIPSpro Compilers: Version 7.30', then start searching other
> > names (gcc
>
> I hope that the wrapper will never be that "smart", i.e. bloated.
These scripts are generated, right? Why not determine the compiler to use when
they're
generated (rather than each time they're run).
Either way, it doesn't seem unreasonable to me for a 'gcc wrapper' to attempt
to call a
program called 'gcc' before the more generic 'cc'. The same especially goes
for 'g++'
versus 'CC'.
Cheers,
Jared
Home |
Main Index |
Thread Index |
Old Index