Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!boulder!grunwald@foobar.colorado.edu From: grunwald@foobar.colorado.edu (Dirk Grunwald) Newsgroups: gnu.g++.bug Subject: Re: g++-1.36.0 file suffix handling Message-ID: <12362@boulder.Colorado.EDU> Date: 4 Oct 89 04:52:14 GMT References: <8910040346.AA02362@hope.lanl.gov> Sender: news@boulder.Colorado.EDU Reply-To: grunwald@foobar.colorado.edu Distribution: gnu Organization: University of Colorado at Boulder Lines: 16 In-reply-to: dwf%hope@LANL.GOV's message of 4 Oct 89 03:46:52 GMT I concur, I think that different actions should be taken in gcc is invoked at g++ -- in particular, I think that -lg++ should be default, or that *some* library be the default. Using the simple trying of building a sh-file holding #!/bin/sh exec gcc $* -lg++ generates annoying error messages about -lg++ being ignored because linking isn't being done. Anything more complex indicates a need for a different g++/gcc. Also, it would mean that collect users wouldn't need to run collect on C programs, only C++ programs. All this behavior could be conditional on the name in argv[0] - no need to have two programs. Dirk Grunwald -- Univ. of Colorado at Boulder (grunwald@foobar.colorado.edu)