Re: name of cc in the renamed rumprun toolchain

  • From: Martin Lucina <martin@xxxxxxxxxx>
  • To: rumpkernel-users@xxxxxxxxxxxxx
  • Date: Fri, 3 Jul 2015 16:39:20 +0200

On Friday, 03.07.2015 at 13:00, Antti Kantee wrote:

On 02/07/15 15:50, Martin Lucina wrote:
On Thursday, 02.07.2015 at 13:11, Antti Kantee wrote:

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.

Ok, done. -gcc was added (and -clang will be automagically dealt
with in case someone manages to add support for it some day). -cc
was removed.

Ack. Good.

I don't quite know what to do with -c++. It seems to be present for
example in the NetBSD xtoolchain along with -g++. For now, the
wrappers only generate -g++ (or -clang++). The wrapperizing should
also be made more accurate to generate those iff havecxx ...

Most toolchains don't have a -c++, only a -g++, so I'd also not have one.

Other related posts: