Mercurial > mxe-octave
view src/mingw-w64.mk @ 3554:b1ca68ddd02c
build native-gcc using untared dependancies within gcc source tree
* src/native-gcc.mk: untar gmp, mpc, mpfr, cloog and isl into the gcc source tree before configure and build, set sysroot.
* src/native-binutils.mk: set sysroot path.
* src/mingw-w64-1-math-h.patch, mingw-w64-2-float-h.patch: New files.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 21 Feb 2014 06:05:39 -0500 |
parents | 3c7b3646d0b3 |
children | b90033378759 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := mingw-w64 $(PKG)_IGNORE := $(PKG)_VERSION := 3.1.0 $(PKG)_CHECKSUM := c167b1dc114a13c465fe6adcce9dc65c509baf75 $(PKG)_SUBDIR := $(PKG)-v$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-v$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(PKG)-release/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/' | \ $(SED) -n 's,.*mingw-w64-v\([0-9.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1).headers-build' cd '$(1).headers-build' && '$(1)/mingw-w64-headers/configure' \ --host='$(TARGET)' \ --prefix='$(HOST_PREFIX)' \ --enable-sdk=all $(MAKE) -C '$(1).headers-build' install endef