* configure: Default CXX to c++, not gcc.
authorIan Lance Taylor <ian@airs.com>
Tue, 6 May 1997 19:51:02 +0000 (19:51 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 6 May 1997 19:51:02 +0000 (19:51 +0000)
* Makefile.in (CXX): Set to c++, not gcc.
(CXX_FOR_TARGET): When cross, transform c++, not gcc.
This is to that $(CXX) and $(CXX_FOR_TARGET) can be used to link C++
programs as well as just compile C++ code.

ChangeLog
Makefile.in

index 9653c72..4a18683 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue May  6 15:49:52 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Default CXX to c++, not gcc.
+       * Makefile.in (CXX): Set to c++, not gcc.
+       (CXX_FOR_TARGET): When cross, transform c++, not gcc.
+
 start-sanitize-ide
 Tue May  6 11:23:57 1997  Ian Lance Taylor  <ian@cygnus.com>
 
index 1890882..6479b87 100644 (file)
@@ -76,7 +76,7 @@ PICFLAG_FOR_TARGET =
 CHILLFLAGS = $(CFLAGS)
 CHILL_LIB = -lchill
 # end-sanitize-chill
-CXX = gcc
+CXX = c++
 
 # Use -O2 to stress test the compiler.
 CXXFLAGS = -g -O2
@@ -223,7 +223,7 @@ CXX_FOR_TARGET = ` \
     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
       echo $(CXX); \
     else \
-      t='$(program_transform_name)'; echo gcc | sed -e 's/x/x/' $$t; \
+      t='$(program_transform_name)'; echo c++ | sed -e 's/x/x/' $$t; \
     fi; \
   fi`