|
From: | Mark de Wever |
Subject: | Re: [Mingw-cross-env-list] gdb support |
Date: | Tue, 04 May 2010 13:24:56 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Mark de Wever wrote:
Volker Grabsch wrote:So it would be great if you could provide again your "gdb.mk" file, adapted to the current GDB version. If you don't have a $(PKG)_UPDATE section, just leave it empty and I'll fill that in for you.I already have a working $(PKG)_UPDATE section, I just tested the update routine and it found gdb 7.1. I'm compiling gdb 7.1 now and will send gdb.mk after testing, probably tomorrow.
Attached the gdb.mk I tested today. -- Regards, Mark de Wever
# This file is part of mingw-cross-env. # See doc/index.html for further information. # gdb PKG := gdb $(PKG)_VERSION := 7.1 $(PKG)_CHECKSUM := 417e2e637a296ea0e1cdddf56233311b8708fa19 $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION) $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.bz2 $(PKG)_WEBSITE := http://www.gnu.org/software/gdb/ $(PKG)_URL := ftp://sourceware.org/pub/gdb/releases/$($(PKG)_FILE) $(PKG)_DEPS := gcc expat define $(PKG)_UPDATE wget -q -O- 'http://www.gnu.org/software/gdb/' | \ grep 'GDB version' | \ $(SED) -n 's,.*GDB version \([0-9][^<]*\).*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef
[Prev in Thread] | Current Thread | [Next in Thread] |