dslinux/vendors/config/armnommu config.arch

amadeus dslinux_amadeus at user.in-berlin.de
Sat Oct 14 19:33:04 CEST 2006


Update of /cvsroot/dslinux/dslinux/vendors/config/armnommu
In directory antilope:/tmp/cvs-serv25319/vendors/config/armnommu

Modified Files:
	config.arch 
Log Message:
add c++ header directories

Index: config.arch
===================================================================
RCS file: /cvsroot/dslinux/dslinux/vendors/config/armnommu/config.arch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- config.arch	8 Oct 2006 12:13:30 -0000	1.4
+++ config.arch	14 Oct 2006 17:33:02 -0000	1.5
@@ -163,9 +163,17 @@
 	CFLAGS  += -Dlinux -D__linux__ -Dunix
 	CFLAGS  += -D__uClinux__
 
-	# Amadeus: use std c++ support libs (iostream, new/delete)
-	# CXXFLAGS = $(CFLAGS) -nostdinc++ -fno-exceptions
 	CXXFLAGS = $(CFLAGS) -fno-exceptions
+
+	# C++ headers, linked into the DSLINUX source tree
+	# use -I because the c++ dirs have to come before the other system dirs.
+	CXXFLAGS += -I $(ROOTDIR)/include/c++
+	CXXFLAGS += -I $(ROOTDIR)/include/c++/arm-linux-elf
+	CXXFLAGS += -I $(ROOTDIR)/include/c++/backward
+	
+	# be compatible for old style c++ includes
+	CXXFLAGS += -Wno-deprecated
+
 	CXXSUP = 
 
 	LDFLAGS += -Wl,-elf2flt




More information about the dslinux-commit mailing list