* 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 9653c721ef273342c098377520d8c19b8e0ef1a8..4a18683f1c599828c18759d658cb7fc118ddbb37 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 1890882a6b9309198fdeeed2b3f82b39b1bbe9c0..6479b87700bae007483116581735c32f406575fb 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`