This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB 6.5.90 available for testing (GDB 6.6 pre-release)


Joel Brobecker wrote:

I have just finished creating the first release candidate for
GDB 6.6. It is available for download at the following location:

ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-6.5.90.tar.bz2

A gzip'ed version is also available: gdb-6.4.90.tar.gz.

Please give it a test if you can and report any problems you might
find. If all goes well, this should be very close to what the GDB 6.6
release will be.

The problem with libtermcap resp. libncurses in a non default location still exists. See PR2175, PR2176 and http://sources.redhat.com/ml/gdb/2006-10/msg00234.html


This is a combined version of Kaz and my patch. Please consider applying or has the Makefile.tpl to be modified?

Marc

---
Index: gdb-6.5.90/Makefile.in
===================================================================
--- gdb-6.5.90.orig/Makefile.in
+++ gdb-6.5.90/Makefile.in
@@ -140,6 +140,7 @@ HOST_EXPORTS = \
 	$(BASE_EXPORTS) \
 	CC="$(CC)"; export CC; \
 	CFLAGS="$(CFLAGS)"; export CFLAGS; \
+	CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \
 	CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
 	CXX="$(CXX)"; export CXX; \
 	CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
@@ -288,8 +289,9 @@ STRIP = @STRIP@
 WINDRES = @WINDRES@

 CFLAGS = @CFLAGS@
-LDFLAGS =
+LDFLAGS = @LDFLAGS@
 LIBCFLAGS = $(CFLAGS)
+CPPFLAGS = @CPPFLAGS@
 CXXFLAGS = @CXXFLAGS@
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
 PICFLAG =
Index: gdb-6.5.90/gdb/Makefile.in
===================================================================
--- gdb-6.5.90.orig/gdb/Makefile.in
+++ gdb-6.5.90/gdb/Makefile.in
@@ -352,7 +352,7 @@ CXXFLAGS = -g -O

 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
 INTERNAL_CFLAGS_BASE = \
-	$(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
+	$(CPPFLAGS) $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
 	$(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
 	$(BFD_CFLAGS) $(INCLUDE_CFLAGS) \
 	$(INTL_CFLAGS) $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS)
@@ -362,6 +362,8 @@ INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS
 # LDFLAGS is specifically reserved for setting from the command line
 # when running make.
 LDFLAGS = @LDFLAGS@
+CPPFLAGS = @CPPFLAGS@
+

 # Profiling options need to go here to work.
 # I think it's perfectly reasonable for a user to set -pg in CFLAGS
@@ -441,6 +443,7 @@ FLAGS_TO_PASS = \
 	"AR_FLAGS=$(AR_FLAGS)" \
 	"CC=$(CC)" \
 	"CFLAGS=$(CFLAGS)" \
+	"CPPFLAGS=$(CPPFLAGS)" \
 	"CXX=$(CXX)" \
 	"CXXFLAGS=$(CXXFLAGS)" \
 	"DLLTOOL=$(DLLTOOL)" \
@@ -500,6 +503,7 @@ TARGET_FLAGS_TO_PASS = \
 	'CC=$$(CC_FOR_TARGET)' \
 	"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
 	"CFLAGS=$(CFLAGS)" \
+	"CPPFLAGS=$(CPPFLAGS)" \
 	'CXX=$$(CXX_FOR_TARGET)' \
 	"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
 	"CXXFLAGS=$(CXXFLAGS)" \


-- Dipl.-Ing. Marc Kleine-Budde | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]