37 lines · 1.5 KB · Text
RawDownload
# This file is part of MXE. See LICENSE.md for licensing information. PKG             := gdb$(PKG)_WEBSITE  := https://www.gnu.org/software/gdb/$(PKG)_VERSION  := 16.3$(PKG)_CHECKSUM := bcfcd095528a987917acf9fff3f1672181694926cc18d609c99d0042c00224c5$(PKG)_SUBDIR   := gdb-$($(PKG)_VERSION)$(PKG)_FILE     := gdb-$($(PKG)_VERSION).tar.xz$(PKG)_URL      := https://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)$(PKG)_URL_2    := https://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE)$(PKG)_DEPS     := cc dlfcn-win32 expat gmp libiconv mman-win32 mpfr readline zlib define $(PKG)_UPDATE    $(WGET) -q -O- 'https://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \    $(SED) -n 's,.*<a href="gdb-\([0-9][^"]*\)\.tar.*,\1,p' | \    $(SORT) -V | \    tail -1endef define $(PKG)_BUILD    cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \        $(MXE_CONFIGURE_OPTS) \        --enable-static \        --disable-shared \        --disable-source-highlight \        --with-system-readline \        --disable-gdbtk \        --disable-tui \        host_configargs="LIBS=\"`$(TARGET)-pkg-config --libs dlfcn` -lmman\"" \        CONFIG_SHELL=$(SHELL) \        LDFLAGS='-Wl,--allow-multiple-definition'    $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' MAKEINFO='/usr/bin/env true'     # executables are always static and we don't want the rest     $(INSTALL) -m755 '$(BUILD_DIR)/gdb/gdb.exe'                 '$(PREFIX)/$(TARGET)/bin/'     $(INSTALL) -m755 '$(BUILD_DIR)/gdbserver/gdbserver.exe' '$(PREFIX)/$(TARGET)/bin/'endef

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t