[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] gdb support

From: Mark de Wever
Subject: Re: [Mingw-cross-env-list] gdb support
Date: Tue, 04 May 2010 13:24:56 +0200
User-agent: Thunderbird (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.

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

define $(PKG)_BUILD
    cd '$(1)' && ./configure \
        --host='$(TARGET)' \
    $(MAKE) -C '$(1)' -j '$(JOBS)' 
    $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]