Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 20:22:03 -0600
From:      Lyndon Nerenberg <lyndon@atg.aciworldwide.com>
To:        arch@freebsd.org
Message-ID:  <200110250222.f9P2M30H071765@atg.aciworldwide.com>

next in thread | raw e-mail | index | archive | help
Alfred Perlstein mentioned that these messages might
be more appropriate for arch. (I wasn't sure ...)

------- Forwarded Message

To: hackers@freebsd.org
Subject: GCC/G++ links
Date: Wed, 24 Oct 2001 20:17:07 -0600
From: Lyndon Nerenberg <lyndon@atg.aciworldwide.com>

[ On a related somewhat anti-GNU thread ... ]

18 months ago we had a conversation on the mailing list about g77
vs. f77 as the canonical command name for the FORTRAN compiler.
The crux of the argument was that f77 was the canonical BSD name
for the command, and that's what it has been since. There was a
related argument as to whether gcc (as a name) should die as well,
but the argument was made that too many third party packages would
break as a result. For the last year I've been running my systems
with the gcc and g++ links to the respective binaries removed, and
I haven't seen much break as a result, other than a (very) few
ports which were fixed with a quick edit of their Makefile.

Meanwhile, it has been useful to install different versions of the
GNU C compiler, and in those cases it has also been useful to call
them by their real names: gcc and g++. Practical experience shows
that cc and gcc can live side-by-side. And also shows that the base
OS environment lives well without the GNU naming conventions.

Based on this, what do you think about adding a NO_GNU_COMPLER_CMD_LINKS
macro to make.conf? If set, if would prevent the linking of cc ->
gcc and c++ -> g++, freeing up /usr/local/bin/g* for the site to
decide? (And I'm not tied to that horribly long macro name, either.)

- --lyndon

------- End of Forwarded Message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110250222.f9P2M30H071765>