* configure: Default CXX to c++, not gcc.
* 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.
This commit is contained in:
parent
8def922034
commit
2cf00a3619
|
@ -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>
|
||||
|
||||
|
|
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in New Issue