Re: name of cc in the renamed rumprun toolchain

  • From: Martin Lucina <martin@xxxxxxxxxx>
  • To: rumpkernel-users@xxxxxxxxxxxxx
  • Date: Thu, 2 Jul 2015 17:50:02 +0200

On Thursday, 02.07.2015 at 13:11, Antti Kantee wrote:

Hi,

At least the NetBSD cross-toolchain distinguishes between gcc and
clang in the cc binary name, i.e. arch--netbsd-gcc or
arch--netbsd-clang. Should we do the same? Obviously, it would
always be -gcc for now, before some kind soul comes up with clang
support, but at least we should be set later on.

Yes, we should do the same and use -gcc. That is what a standard
cross-toolchain does, and configure is trained to look for -gcc as well.

If so, should we keep -cc as an alias for -gcc, so as to simplify
instructions to not always have to contain "if you want to use gcc,
set CC to -gcc, if you want to use clang, set CC to -clang"?

The instructions can just say "set CC to the rumprun cross compiler you
built" or similar, I'd not bother enumerating the possibilities.

-mato

Other related posts: