From: Dale Weiler Date: Sat, 5 Apr 2014 09:16:15 +0000 (-0400) Subject: Rework distro package build system. X-Git-Tag: xonotic-v0.8.0~4^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=90533079c873b31458a272ed4b7ffc90c593e1f5;p=xonotic%2Fgmqcc.git Rework distro package build system. --- diff --git a/Makefile b/Makefile index 38e0784..3f286e2 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,8 @@ endif # do this last otherwise there is whitespace in the command output and # it makes my OCD act up -CFLAGS += $(OPTIONAL) +CFLAGS += $(OPTIONAL_CFLAGS) +LDFLAGS += $(OPTIONAL_LDFLAGS) #we have duplicate object files when dealing with creating a simple list #for dependinces. To combat this we use some clever recrusive-make to diff --git a/distro/Makefile b/distro/Makefile index 08dfe3f..3436cca 100644 --- a/distro/Makefile +++ b/distro/Makefile @@ -9,25 +9,58 @@ endif .NOTPARALLEL: base .NOTPARALLEL: upload +HEADER=\e[5;32;40m +RESET=\e[0;37;40m +INFO=\e[5;33;40m + base: - @echo "Building Debian packages ..." - $(MAKE) -C deb/ - $(MAKE) -C deb/ CARCH=i686 - @echo "Building Archlinux packages ..." - $(MAKE) -C archlinux/this/ - $(MAKE) -C archlinux/this/ CARCH=i686 - @echo "Building Slackware packages ..." - $(MAKE) -C slackware/this/ - $(MAKE) -C slackware/this/ CARCH=i686 - @echo "Building Windows packages ..." - $(MAKE) -C win32/ - $(MAKE) -C win64/ - @mv deb/*.deb ./ - @mv archlinux/this/*pkg.tar.xz ./ - @mv win32/*.zip ./ - @mv win64/*.zip ./ - @mv slackware/this/*.txz ./ + @echo -e "\n$(HEADER)Building Debian packages ...$(RESET)" + @echo -e " $(INFO)=> building 64-bit package$(RESET)" + @$(MAKE) -C deb/ >/dev/null + @echo -e " $(INFO)=> building 32-bit package$(RESET)" + @$(MAKE) -C deb/ CARCH=i686 OPTIONAL_CFLAGS=-m32 OPTIONAL_LDFLAGS=-m32 >/dev/null + + @echo -e "\n$(HEADER)Building ArchLinux packages ...$(RESET)" + @echo -e " $(INFO)=> building 64-bit package$(RESET)" + @$(MAKE) -C archlinux/this/ >/dev/null + @echo -e " $(INFO)=> building 32-bit package$(RESET)" + @$(MAKE) -C archlinux/this/ CARCH=i686 OPTIONAL_CFLAGS=-m32 OPTIONAL_LDFLAGS=-m32 >/dev/null + + @echo -e "\n$(HEADER)Building ArchBSD packages ...$(RESET)" + @echo -e " $(INFO)=> building 64-bit package$(RESET)" + @$(MAKE) -C archbsd/this/ >/dev/null + @echo -e " $(INFO)=> building 32-bit package$(RESET)" + @$(MAKE) -C archbsd/this/ CARCH=i686 OPTIONAL_CFLAGS=-m32 OPTIONAL_LDFLAGS=-m32 >/dev/null + + @echo -e "\n$(HEADER)Building Slackware packages ...$(RESET)" + @echo -e " $(INFO)=> building 64-bit package$(RESET)" + @$(MAKE) -C slackware/this/ >/dev/null + @echo -e " $(INFO)=> building 32-bit package$(RESET)" + @$(MAKE) -C slackware/this/ CARCH=i686 OPTIONAL_CFLAGS=-m32 OPTIONAL_LDFLAGS=-m32 >/dev/null + + @echo -e "\n$(HEADER)Building Fedora packages ...$(RESET)" + @echo -e " $(INFO)=> building 64-bit package$(RESET)" + @$(MAKE) -C fedora/this/ >/dev/null + @echo -e "\n\$(HEADER)Building Windows packages ...$(RESET)" + @echo -e " $(INFO)=> building 64-bit package$(RESET)" + @$(MAKE) -C win64/ >/dev/null + @echo -e " $(INFO)=> building 32-bit package$(RESET)" + @$(MAKE) -C win32/ >/dev/null + + @rm -rf pkgs/ + @mkdir pkgs/ + @mv deb/*.deb ./pkgs/ + @mv archlinux/this/*pkg.tar.xz ./pkgs/ + @mv archbsd/this/*pkg.tar.xz ./pkgs/ + @mv win32/*.zip ./pkgs/ + @mv win64/*.zip ./pkgs/ + @mv slackware/this/*.txz ./pkgs/ + @mv fedora/this/*.rpm ./pkgs/ + + @echo -e "\n\n$(HEADER)Completed:$(RESET)" + @find ./pkgs/ -type f -regex ".*/.*\.\(xz\|deb\|zip\|txz\|rpm\)" -exec echo -e " $(INFO)=>$(RESET) {}" \; + upload: @echo "APPKEY:76vh3q42hnvmzm3" > dropbox_config @echo "APPSECRET:tmeecht2cmh72xa" >> dropbox_config @@ -37,7 +70,7 @@ upload: @wget -q "http://raw.github.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" @chmod +x dropbox_uploader.sh @sed -i -e "s/~\/.dropbox_uploader/.\/dropbox_config/g" $$(basename $(DROPBOX)) - @find . -type f -regex ".*/.*\.\(xz\|deb\|zip\|txz\)" -exec ./$$(basename $(DROPBOX)) upload {} \; + @find ./pkgs -type f -regex ".*/.*\.\(xz\|deb\|zip\|txz\|rpm\)" -exec ./$$(basename $(DROPBOX)) upload {} \; @rm dropbox_config dropbox_uploader.sh website: @@ -53,11 +86,7 @@ website: @git stash apply clean: - @rm -f *.deb - @rm -f *.pkg.tar.xz - @rm -f *.zip - @rm -f *.gen + @rm -rf pkgs/ @rm -f *.html - @rm -f *.txz all: base upload diff --git a/distro/archbsd/this/Makefile b/distro/archbsd/this/Makefile index afe5514..6bfe650 100644 --- a/distro/archbsd/this/Makefile +++ b/distro/archbsd/this/Makefile @@ -1,4 +1,5 @@ all: $(MAKE) -f ../../archlinux/this/Makefile \ LIBC_DEPEND=libc \ - DESTDIR=distro/archbsd/this + DESTDIR=distro/archbsd/this \ + SUFFIX=archbsd diff --git a/distro/archlinux/this/Makefile b/distro/archlinux/this/Makefile index f224103..91693a4 100644 --- a/distro/archlinux/this/Makefile +++ b/distro/archlinux/this/Makefile @@ -5,8 +5,9 @@ MAJOR := $(shell sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' $(HEADER)) MINOR := $(shell sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' $(HEADER)) PATCH := $(shell sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' $(HEADER)) PKGREL := 1 +SUFFIX ?= archlinux CARCH := $(shell uname -m) -PKGDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)-$(CARCH) +PKGDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)-$(CARCH)-$(SUFFIX) TARCOMP := -J PKG := $(PKGDIR).pkg.tar.xz PKGINFO := $(PKGDIR)/.PKGINFO @@ -15,11 +16,6 @@ CFLAGS := LIBC_DEPEND := glibc -ifneq (, $(findstring i686, $(CARCH))) - CFLAGS += -m32 - LDFLAGS += -m32 -endif - base: $(MAKE) -C $(BASEDIR) clean CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ @@ -45,8 +41,8 @@ base: @bsdtar -C $(PKGDIR) -czf $(PKGDIR)/.MTREE \ --format=mtree \ --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' \ - .PKGINFO usr/ - @bsdtar $(TARCOMP) -cvf $(PKG) -C $(PKGDIR)/ .PKGINFO .MTREE usr/ + .PKGINFO usr/ 2>&1 >/dev/null + @bsdtar $(TARCOMP) -cvf $(PKG) -C $(PKGDIR)/ .PKGINFO .MTREE usr/ 2>&1 >/dev/null @rm -rf $(PKGDIR) clean: diff --git a/distro/deb/Makefile b/distro/deb/Makefile index 9752f7a..fefb3e5 100644 --- a/distro/deb/Makefile +++ b/distro/deb/Makefile @@ -35,7 +35,7 @@ base: @tar czf data.tar.gz -C $(DEBDIR)/ . --exclude=DEBIAN @tar czf control.tar.gz -C $(DEBDIR)/DEBIAN/ . @echo 2.0 > debian-binary - @ar r $(DEB) debian-binary control.tar.gz data.tar.gz + @ar r $(DEB) debian-binary control.tar.gz data.tar.gz 2>&1 >/dev/null @rm -rf debian-binary control.tar.gz data.tar.gz $(DEBDIR) clean: diff --git a/distro/fedora/INSTALL b/distro/fedora/INSTALL deleted file mode 100644 index 8540670..0000000 --- a/distro/fedora/INSTALL +++ /dev/null @@ -1,31 +0,0 @@ -File is constantly updated! - -Since Fedora 19 we have this package in main repos. Please use it! - -For install gmqcc do this: -# yum install gmqcc - -For install qcvm do this: -# yum install qcvm - -For install gmqpak do this: -# yum install gmqpak - -To use the spec files in this fedora directory you need the core -development tools , building enviroment for the user, and -the directory structure for it. If you don't already have these, issue -the following commands. - -# yum groupinstall "Development Tools" -# yum install rpmdevtools -$ rm -rf ~/rpmbuild -$ rpmdev-setuptree - -Prepare and build the RPMs. - -$ cp gmqcc.spec ~/rpmbuild/SPECS/ -$ wget https://github.com/graphitemaster/gmqcc/archive/0.3.5.tar.gz -o ~/rpmbuild/SOURCES/gmqcc-0.3.5.tar.gz -$ rpmbuild -ba ~/rpmbuild/SPECS/gmqcc.spec - -Now we have RPMs in ~/rpmbuild/RPMS/ and you can install it via yum. - diff --git a/distro/fedora/gmqcc.spec b/distro/fedora/gmqcc.spec deleted file mode 100644 index f88ecc5..0000000 --- a/distro/fedora/gmqcc.spec +++ /dev/null @@ -1,99 +0,0 @@ -Name: gmqcc -Version: 0.3.5 -Release: 2%{?dist} -Summary: Improved Quake C Compiler -License: MIT -URL: http://graphitemaster.github.io/gmqcc/ -Source0: https://github.com/graphitemaster/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -# fix build on big endian arches - stdlib.h required for exit() -Patch0: %{name}-0.3.5-stdlib.patch - -# tests fail on big endians -ExclusiveArch: %{ix86} x86_64 %{arm} - -%description -Modern written-from-scratch compiler for the QuakeC language with -support for many common features found in other QC compilers. - -%package -n qcvm -Summary: Standalone QuakeC VM binary executor - -%description -n qcvm -Executor for QuakeC VM binary files created using a QC compiler such -as gmqcc or fteqcc. It provides a small set of built-in functions, and -by default executes the main function if there is one. Some options -useful for debugging are available as well. - -%package -n gmqpak -Summary: Standalone Quake PAK file utility - -%description -n gmqpak -Standalone Quake PAK file utility supporting the extraction of files, -directories, or whole PAKs, as well as the opposite (creation of PAK files). - -%prep -%setup -q -%patch0 -p1 -echo '#!/bin/sh' > ./configure -chmod +x ./configure - -# and for all for all of those switches they increase the runtime of the compile -# making compiles of code slower - -# we don't need compiel time buffer protection, we test with clangs address -# sanatizer and valgrind before releases -%global optflags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2 //') -# there is no exceptions in C -%global optflags %(echo %{optflags} | sed 's/-fexceptions //') -# same with clangs address sanatizer and valgrind testing -%global optflags %(echo %{optflags} | sed 's/-fstack-protector-strong //') -# buffer overflow protection is unrequired since most (if not all) allocations -# happen dynamically and we have our own memory allocator which checks this -# (with valgrind integration), also clangs address santatizer cathes it as -# for grecord-gcc-switches, that just adds pointless information to the binary -# increasing it size -%global optflags %(echo %{optflags} | sed 's/--param=ssp-buffer-size=4 //') - -%build -%configure -make %{?_smp_mflags} - -%install -%make_install PREFIX=%{_prefix} - -%check -make check - -%files -%doc LICENSE README AUTHORS CHANGES TODO -%doc gmqcc.ini.example -%{_mandir}/man1/gmqcc.1* -%{_bindir}/gmqcc - -%files -n qcvm -%doc LICENSE README AUTHORS CHANGES TODO -%{_mandir}/man1/qcvm.1* -%{_bindir}/qcvm - -%files -n gmqpak -%doc LICENSE README AUTHORS CHANGES TODO -%{_mandir}/man1/gmqpak.1* -%{_bindir}/gmqpak - -%changelog -* Sat Nov 16 2013 Dan Horák - 0.3.5-2 -- fix build on big endian arches -- use the standard wildcarded filename for man pages -- and make it Exclusive for little endians because tests fail on big endians - -* Thu Nov 14 2013 Igor Gnatenko - 0.3.5-1 -- 0.3.5 upstream release - -* Thu Sep 26 2013 Igor Gnatenko - 0.3.0-2 -- Optimizing compile flags - -* Fri Sep 20 2013 Igor Gnatenko - 0.3.0-1 -- Update to 0.3.0 (improved new package: gmqpak) - -* Sat Jul 27 2013 Igor Gnatenko - 0.2.9-1 -- Initial release diff --git a/distro/fedora/spec/INSTALL b/distro/fedora/spec/INSTALL new file mode 100644 index 0000000..8540670 --- /dev/null +++ b/distro/fedora/spec/INSTALL @@ -0,0 +1,31 @@ +File is constantly updated! + +Since Fedora 19 we have this package in main repos. Please use it! + +For install gmqcc do this: +# yum install gmqcc + +For install qcvm do this: +# yum install qcvm + +For install gmqpak do this: +# yum install gmqpak + +To use the spec files in this fedora directory you need the core +development tools , building enviroment for the user, and +the directory structure for it. If you don't already have these, issue +the following commands. + +# yum groupinstall "Development Tools" +# yum install rpmdevtools +$ rm -rf ~/rpmbuild +$ rpmdev-setuptree + +Prepare and build the RPMs. + +$ cp gmqcc.spec ~/rpmbuild/SPECS/ +$ wget https://github.com/graphitemaster/gmqcc/archive/0.3.5.tar.gz -o ~/rpmbuild/SOURCES/gmqcc-0.3.5.tar.gz +$ rpmbuild -ba ~/rpmbuild/SPECS/gmqcc.spec + +Now we have RPMs in ~/rpmbuild/RPMS/ and you can install it via yum. + diff --git a/distro/fedora/spec/gmqcc.spec b/distro/fedora/spec/gmqcc.spec new file mode 100644 index 0000000..95fb611 --- /dev/null +++ b/distro/fedora/spec/gmqcc.spec @@ -0,0 +1,96 @@ +Name: gmqcc +Version: 0.3.6 +Release: 2%{?dist} +Summary: Improved Quake C Compiler +License: MIT +URL: http://graphitemaster.github.io/gmqcc/ +Source0: https://github.com/graphitemaster/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +# tests fail on big endians +ExclusiveArch: %{ix86} x86_64 %{arm} + +%description +Modern written-from-scratch compiler for the QuakeC language with +support for many common features found in other QC compilers. + +%package -n qcvm +Summary: Standalone QuakeC VM binary executor + +%description -n qcvm +Executor for QuakeC VM binary files created using a QC compiler such +as gmqcc or fteqcc. It provides a small set of built-in functions, and +by default executes the main function if there is one. Some options +useful for debugging are available as well. + +%package -n gmqpak +Summary: Standalone Quake PAK file utility + +%description -n gmqpak +Standalone Quake PAK file utility supporting the extraction of files, +directories, or whole PAKs, as well as the opposite (creation of PAK files). + +%prep +%setup -q +echo '#!/bin/sh' > ./configure +chmod +x ./configure + +# and for all for all of those switches they increase the runtime of the compile +# making compiles of code slower + +# we don't need compile time buffer protection, we test with clang's address +# sanatizer and valgrind before releases +%global optflags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2 //') +# there is no exceptions in C +%global optflags %(echo %{optflags} | sed 's/-fexceptions //') +# same with clangs address sanatizer and valgrind testing +%global optflags %(echo %{optflags} | sed 's/-fstack-protector-strong //') +# buffer overflow protection is unrequired since most (if not all) allocations +# happen dynamically and we have our own memory allocator which checks this +# (with valgrind integration), also clang's address santatizer cathes it as +# for grecord-gcc-switches, that just adds pointless information to the binary +# increasing its size +%global optflags %(echo %{optflags} | sed 's/--param=ssp-buffer-size=4 //') + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install PREFIX=%{_prefix} + +%check +make check + +%files +%doc LICENSE README AUTHORS CHANGES TODO +%doc gmqcc.ini.example +%{_mandir}/man1/gmqcc.1* +%{_bindir}/gmqcc + +%files -n qcvm +%doc LICENSE README AUTHORS CHANGES TODO +%{_mandir}/man1/qcvm.1* +%{_bindir}/qcvm + +%files -n gmqpak +%doc LICENSE README AUTHORS CHANGES TODO +%{_mandir}/man1/gmqpak.1* +%{_bindir}/gmqpak + +%changelog +* Sat Nov 16 2013 Dan Horák - 0.3.5-2 +- fix build on big endian arches +- use the standard wildcarded filename for man pages +- and make it Exclusive for little endians because tests fail on big endians + +* Thu Nov 14 2013 Igor Gnatenko - 0.3.5-1 +- 0.3.5 upstream release + +* Thu Sep 26 2013 Igor Gnatenko - 0.3.0-2 +- Optimizing compile flags + +* Fri Sep 20 2013 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 (improved new package: gmqpak) + +* Sat Jul 27 2013 Igor Gnatenko - 0.2.9-1 +- Initial release diff --git a/distro/fedora/this/Makefile b/distro/fedora/this/Makefile new file mode 100644 index 0000000..49b752f --- /dev/null +++ b/distro/fedora/this/Makefile @@ -0,0 +1,21 @@ +BASEDIR := $(CURDIR)/../../.. +HEADER := $(BASEDIR)/gmqcc.h +MAJOR := `sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' $(HEADER)` +MINOR := `sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' $(HEADER)` +PATCH := `sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' $(HEADER)` +NAME := gmqcc-$(MAJOR).$(MINOR).$(PATCH) +TARFILE := $(NAME).tar.gz + +all: + @mkdir -p ~/rpmbuild/SPECS + @mkdir -p ~/rpmbuild/SOURCES + @cp ../spec/gmqcc.spec ~/rpmbuild/SPECS + @mkdir -p /tmp/$(NAME) + @cp -R $(BASEDIR) /tmp/$(NAME)/ + @cd /tmp && tar -zcf ~/rpmbuild/SOURCES/$(TARFILE) $(NAME)/ + @rm -rf /tmp/$(NAME) + @rpmbuild -ba ../spec/gmqcc.spec 2>&1 >/dev/null + + @mv ~/rpmbuild/RPMS/x86_64/gmqcc*.rpm . 2>/dev/null; true + @mv ~/rpmbuild/RPMS/x86_64/qcvm*.rpm . 2>/dev/null; true + @mv ~/rpmbuild/RPMS/x86_64/gmqpak*.rpm . 2>/dev/null; true diff --git a/distro/file b/distro/file new file mode 100644 index 0000000..f9a2e60 --- /dev/null +++ b/distro/file @@ -0,0 +1,462 @@ + +Building Debian packages ... + => building 64-bit package +make -C deb/ +make[1]: Entering directory '/root/gmqcc/distro/deb' +make -C ../.. clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc qcvm testsuite gmqpak *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +CFLAGS="" LDFLAGS="" \ + make -C ../.. DESTDIR=distro/deb/gmqcc-`sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' ../../gmqcc.h` PREFIX=/usr strip install +make[2]: Entering directory '/root/gmqcc' +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ansi.o ansi.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o util.o util.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o hash.o hash.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o stat.o stat.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o fs.o fs.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o opts.o opts.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o conout.o conout.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o main.o main.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o lexer.o lexer.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o parser.o parser.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o code.o code.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ast.o ast.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ir.o ir.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ftepp.o ftepp.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o utf8.o utf8.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o correct.o correct.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o fold.o fold.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o intrin.o intrin.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o exec.o exec.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o test.o test.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o pak.o pak.c +install -d -m755 distro/deb/gmqcc-0.3.6/usr/share/man/man1 +install -m644 doc/gmqcc.1 distro/deb/gmqcc-0.3.6/usr/share/man/man1/ +install -m644 doc/qcvm.1 distro/deb/gmqcc-0.3.6/usr/share/man/man1/ +install -m644 doc/gmqpak.1 distro/deb/gmqcc-0.3.6/usr/share/man/man1/ +cc -o gmqpak ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o +cc -o testsuite ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -lm +install -d -m755 distro/deb/gmqcc-0.3.6/usr/bin +install -m755 gmqpak distro/deb/gmqcc-0.3.6/usr/bin/gmqpak +cc -o qcvm ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -lm +cc -o gmqcc ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -lm +install -d -m755 distro/deb/gmqcc-0.3.6/usr/bin +install -m755 qcvm distro/deb/gmqcc-0.3.6/usr/bin/qcvm +strip gmqcc +install -d -m755 distro/deb/gmqcc-0.3.6/usr/bin +strip qcvm +install -m755 gmqcc distro/deb/gmqcc-0.3.6/usr/bin/gmqcc +strip testsuite +make[2]: Leaving directory '/root/gmqcc' +make[1]: Leaving directory '/root/gmqcc/distro/deb' + +=> building 32-bit package +make -C deb/ OPTIONAL_CFLAGS=-m32 OPTIONAL_LDFLAGS=-m32 +make[1]: Entering directory '/root/gmqcc/distro/deb' +make -C ../.. clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc qcvm testsuite gmqpak *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +CFLAGS="" LDFLAGS="" \ + make -C ../.. DESTDIR=distro/deb/gmqcc-`sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' ../../gmqcc.h` PREFIX=/usr strip install +make[2]: Entering directory '/root/gmqcc' +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ansi.o ansi.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o util.o util.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o hash.o hash.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o stat.o stat.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o fs.o fs.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o opts.o opts.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o conout.o conout.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o main.o main.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o lexer.o lexer.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o parser.o parser.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o code.o code.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ast.o ast.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ir.o ir.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ftepp.o ftepp.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o utf8.o utf8.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o correct.o correct.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o fold.o fold.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o intrin.o intrin.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o exec.o exec.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o test.o test.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o pak.o pak.c +install -d -m755 distro/deb/gmqcc-0.3.6/usr/share/man/man1 +install -m644 doc/gmqcc.1 distro/deb/gmqcc-0.3.6/usr/share/man/man1/ +install -m644 doc/qcvm.1 distro/deb/gmqcc-0.3.6/usr/share/man/man1/ +install -m644 doc/gmqpak.1 distro/deb/gmqcc-0.3.6/usr/share/man/man1/ +cc -o gmqpak ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o -m32 +cc -o testsuite ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -m32 -lm +install -d -m755 distro/deb/gmqcc-0.3.6/usr/bin +install -m755 gmqpak distro/deb/gmqcc-0.3.6/usr/bin/gmqpak +cc -o gmqcc ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -m32 -lm +cc -o qcvm ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -m32 -lm +install -d -m755 distro/deb/gmqcc-0.3.6/usr/bin +install -d -m755 distro/deb/gmqcc-0.3.6/usr/bin +install -m755 gmqcc distro/deb/gmqcc-0.3.6/usr/bin/gmqcc +install -m755 qcvm distro/deb/gmqcc-0.3.6/usr/bin/qcvm +strip gmqcc +strip qcvm +strip testsuite +make[2]: Leaving directory '/root/gmqcc' +make[1]: Leaving directory '/root/gmqcc/distro/deb' + +Building Archlinux packages ... + => building 64-bit package +make -C archlinux/this/ +make[1]: Entering directory '/root/gmqcc/distro/archlinux/this' +make -C ../../../ clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc qcvm testsuite gmqpak *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +CFLAGS="" LDFLAGS="" \ + make -C ../../../ "DESTDIR=distro/archlinux/this/gmqcc-0.3.6-1-x86_64" "PREFIX=/usr" strip install +make[2]: Entering directory '/root/gmqcc' +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ansi.o ansi.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o util.o util.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o hash.o hash.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o stat.o stat.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o fs.o fs.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o opts.o opts.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o conout.o conout.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o main.o main.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o lexer.o lexer.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o parser.o parser.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o code.o code.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ast.o ast.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ir.o ir.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ftepp.o ftepp.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o utf8.o utf8.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o correct.o correct.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o fold.o fold.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o intrin.o intrin.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o exec.o exec.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o test.o test.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o pak.o pak.c +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1 +install -m644 doc/gmqcc.1 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1/ +install -m644 doc/qcvm.1 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1/ +install -m644 doc/gmqpak.1 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1/ +cc -o gmqpak ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin +install -m755 gmqpak distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin/gmqpak +cc -o testsuite ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -lm +cc -o gmqcc ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -lm +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin +install -m755 gmqcc distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin/gmqcc +cc -o qcvm ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -lm +strip gmqcc +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin +strip qcvm +install -m755 qcvm distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin/qcvm +strip testsuite +make[2]: Leaving directory '/root/gmqcc' +make[1]: Leaving directory '/root/gmqcc/distro/archlinux/this' + +=> building 32-bit package +make -C archlinux/this/ OPTIONAL_CFLAGS=-m32 OPTIONAL_LDFLAGS=-m32 +make[1]: Entering directory '/root/gmqcc/distro/archlinux/this' +make -C ../../../ clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc qcvm testsuite gmqpak *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +CFLAGS="" LDFLAGS="" \ + make -C ../../../ "DESTDIR=distro/archlinux/this/gmqcc-0.3.6-1-x86_64" "PREFIX=/usr" strip install +make[2]: Entering directory '/root/gmqcc' +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ansi.o ansi.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o util.o util.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o hash.o hash.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o stat.o stat.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o fs.o fs.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o opts.o opts.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o conout.o conout.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o main.o main.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o lexer.o lexer.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o parser.o parser.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o code.o code.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ast.o ast.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ir.o ir.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ftepp.o ftepp.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o utf8.o utf8.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o correct.o correct.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o fold.o fold.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o intrin.o intrin.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o exec.o exec.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o test.o test.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o pak.o pak.c +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1 +install -m644 doc/gmqcc.1 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1/ +install -m644 doc/qcvm.1 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1/ +install -m644 doc/gmqpak.1 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/share/man/man1/ +cc -o gmqpak ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o -m32 +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin +install -m755 gmqpak distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin/gmqpak +cc -o testsuite ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -m32 -lm +cc -o gmqcc ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -m32 -lm +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin +install -m755 gmqcc distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin/gmqcc +cc -o qcvm ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -m32 -lm +strip gmqcc +install -d -m755 distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin +install -m755 qcvm distro/archlinux/this/gmqcc-0.3.6-1-x86_64/usr/bin/qcvm +strip qcvm +strip testsuite +make[2]: Leaving directory '/root/gmqcc' +make[1]: Leaving directory '/root/gmqcc/distro/archlinux/this' + +Building Slackware packages ... + => building 64-bit package +make -C slackware/this/ +make[1]: Entering directory '/root/gmqcc/distro/slackware/this' +make -C ../../../ clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc qcvm testsuite gmqpak *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +CFLAGS="" LDFLAGS="" \ + make -C ../../../ "DESTDIR=distro/slackware/this/gmqcc-0.3.6-x86_64" "PREFIX=/usr" strip install +make[2]: Entering directory '/root/gmqcc' +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ansi.o ansi.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o util.o util.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o hash.o hash.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o stat.o stat.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o fs.o fs.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o opts.o opts.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o conout.o conout.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o main.o main.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o lexer.o lexer.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o parser.o parser.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o code.o code.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ast.o ast.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ir.o ir.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o ftepp.o ftepp.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o utf8.o utf8.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o correct.o correct.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o fold.o fold.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o intrin.o intrin.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o exec.o exec.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o test.o test.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -c -o pak.o pak.c +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1 +install -m644 doc/gmqcc.1 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1/ +install -m644 doc/qcvm.1 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1/ +install -m644 doc/gmqpak.1 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1/ +cc -o gmqpak ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin +install -m755 gmqpak distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin/gmqpak +cc -o testsuite ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -lm +cc -o gmqcc ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -lm +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin +install -m755 gmqcc distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin/gmqcc +cc -o qcvm ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -lm +strip gmqcc +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin +strip qcvm +install -m755 qcvm distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin/qcvm +strip testsuite +make[2]: Leaving directory '/root/gmqcc' +gzip -9 gmqcc-0.3.6-x86_64/usr/share/man/man?/*.? +strip -s gmqcc-0.3.6-x86_64/usr/bin/* +mkdir gmqcc-0.3.6-x86_64/install +cp slack-desc gmqcc-0.3.6-x86_64/install +install/ +install/slack-desc +usr/ +usr/share/ +usr/share/man/ +usr/share/man/man1/ +usr/share/man/man1/gmqcc.1.gz +usr/share/man/man1/gmqpak.1.gz +usr/share/man/man1/qcvm.1.gz +usr/bin/ +usr/bin/gmqpak +usr/bin/gmqcc +usr/bin/qcvm +make[1]: Leaving directory '/root/gmqcc/distro/slackware/this' + +=> building 32-bit package +make -C slackware/this/ OPTIONAL_CFLAGS=-m32 OPTIONAL_LDFLAGS=-m32 +make[1]: Entering directory '/root/gmqcc/distro/slackware/this' +make -C ../../../ clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc qcvm testsuite gmqpak *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +CFLAGS="" LDFLAGS="" \ + make -C ../../../ "DESTDIR=distro/slackware/this/gmqcc-0.3.6-x86_64" "PREFIX=/usr" strip install +make[2]: Entering directory '/root/gmqcc' +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ansi.o ansi.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o util.o util.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o hash.o hash.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o stat.o stat.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o fs.o fs.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o opts.o opts.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o conout.o conout.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o main.o main.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o lexer.o lexer.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o parser.o parser.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o code.o code.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ast.o ast.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ir.o ir.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o ftepp.o ftepp.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o utf8.o utf8.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o correct.o correct.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o fold.o fold.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o intrin.o intrin.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o exec.o exec.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o test.o test.c +cc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -m32 -c -o pak.o pak.c +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1 +install -m644 doc/gmqcc.1 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1/ +install -m644 doc/qcvm.1 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1/ +install -m644 doc/gmqpak.1 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/share/man/man1/ +cc -o gmqpak ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o -m32 +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin +install -m755 gmqpak distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin/gmqpak +cc -o testsuite ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -m32 -lm +cc -o gmqcc ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -m32 -lm +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin +install -m755 gmqcc distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin/gmqcc +cc -o qcvm ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -m32 -lm +strip gmqcc +install -d -m755 distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin +strip qcvm +install -m755 qcvm distro/slackware/this/gmqcc-0.3.6-x86_64/usr/bin/qcvm +strip testsuite +make[2]: Leaving directory '/root/gmqcc' +gzip -9 gmqcc-0.3.6-x86_64/usr/share/man/man?/*.? +strip -s gmqcc-0.3.6-x86_64/usr/bin/* +mkdir gmqcc-0.3.6-x86_64/install +cp slack-desc gmqcc-0.3.6-x86_64/install +install/ +install/slack-desc +usr/ +usr/share/ +usr/share/man/ +usr/share/man/man1/ +usr/share/man/man1/gmqcc.1.gz +usr/share/man/man1/gmqpak.1.gz +usr/share/man/man1/qcvm.1.gz +usr/bin/ +usr/bin/gmqpak +usr/bin/gmqcc +usr/bin/qcvm +make[1]: Leaving directory '/root/gmqcc/distro/slackware/this' + +Building Windows packages ... + => building 64-bit package +make -C win64/ +make[1]: Entering directory '/root/gmqcc/distro/win64' +make CC=x86_64-w64-mingw32-gcc UNAME=MINGW -C ../.. clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc.exe qcvm.exe testsuite.exe gmqpak.exe *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +make CC=x86_64-w64-mingw32-gcc UNAME=MINGW -C ../.. DESTDIR=distro/win64/gmqcc-`sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' ../../gmqcc.h` PREFIX=/ strip install +make[2]: Entering directory '/root/gmqcc' +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ansi.o ansi.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o util.o util.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o hash.o hash.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o stat.o stat.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o fs.o fs.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o opts.o opts.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o conout.o conout.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o main.o main.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o lexer.o lexer.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o parser.o parser.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o code.o code.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ast.o ast.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ir.o ir.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ftepp.o ftepp.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o utf8.o utf8.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o correct.o correct.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o fold.o fold.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o intrin.o intrin.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o exec.o exec.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o test.o test.c +x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o pak.o pak.c +install -d -m755 distro/win64/gmqcc-0.3.6/man1 +x86_64-w64-mingw32-gcc -o gmqpak.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o +install -m644 doc/gmqcc.1 distro/win64/gmqcc-0.3.6/man1/ +install -m644 doc/qcvm.1 distro/win64/gmqcc-0.3.6/man1/ +install -m644 doc/gmqpak.1 distro/win64/gmqcc-0.3.6/man1/ +x86_64-w64-mingw32-gcc -o testsuite.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -lm +install -d -m755 distro/win64/gmqcc-0.3.6 +install -m755 gmqpak.exe distro/win64/gmqcc-0.3.6/gmqpak.exe +x86_64-w64-mingw32-gcc -o qcvm.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -lm +install -d -m755 distro/win64/gmqcc-0.3.6 +install -m755 qcvm.exe distro/win64/gmqcc-0.3.6/qcvm.exe +x86_64-w64-mingw32-gcc -o gmqcc.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -lm +strip gmqcc.exe +install -d -m755 distro/win64/gmqcc-0.3.6 +install -m755 gmqcc.exe distro/win64/gmqcc-0.3.6/gmqcc.exe +strip qcvm.exe +strip testsuite.exe +make[2]: Leaving directory '/root/gmqcc' + adding: gmqcc-0.3.6/ (stored 0%) + adding: gmqcc-0.3.6/gmqpak.exe (deflated 66%) + adding: gmqcc-0.3.6/doc/ (stored 0%) + adding: gmqcc-0.3.6/doc/gmqpak.pdf (deflated 41%) + adding: gmqcc-0.3.6/doc/qcvm.pdf (deflated 30%) + adding: gmqcc-0.3.6/doc/gmqcc.pdf (deflated 17%) + adding: gmqcc-0.3.6/qcvm.exe (deflated 67%) + adding: gmqcc-0.3.6/gmqcc.exe (deflated 70%) +make[1]: Leaving directory '/root/gmqcc/distro/win64' + +=> building 32-bit package +make -C win32/ +make[1]: Entering directory '/root/gmqcc/distro/win32' +make CC=i686-w64-mingw32-gcc UNAME=MINGW -C ../.. clean +make[2]: Entering directory '/root/gmqcc' +rm -rf *.o gmqcc.exe qcvm.exe testsuite.exe gmqpak.exe *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int +make[2]: Leaving directory '/root/gmqcc' +make CC=i686-w64-mingw32-gcc UNAME=MINGW -C ../.. DESTDIR=distro/win32/gmqcc-`sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' ../../gmqcc.h`.`sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' ../../gmqcc.h` PREFIX=/ strip install +make[2]: Entering directory '/root/gmqcc' +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ansi.o ansi.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o util.o util.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o hash.o hash.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o stat.o stat.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o fs.o fs.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o opts.o opts.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o conout.o conout.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o main.o main.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o lexer.o lexer.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o parser.o parser.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o code.o code.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ast.o ast.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ir.o ir.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o ftepp.o ftepp.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o utf8.o utf8.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o correct.o correct.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o fold.o fold.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o intrin.o intrin.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o exec.o exec.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o test.o test.c +i686-w64-mingw32-gcc -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -Wmissing-prototypes -Wstrict-prototypes -pedantic-errors -DGMQCC_GITINFO="\"0.3.0-308-gfe14d1b\"" -DNVALGRIND -c -o pak.o pak.c +install -d -m755 distro/win32/gmqcc-0.3.6/man1 +install -m644 doc/gmqcc.1 distro/win32/gmqcc-0.3.6/man1/ +install -m644 doc/qcvm.1 distro/win32/gmqcc-0.3.6/man1/ +install -m644 doc/gmqpak.1 distro/win32/gmqcc-0.3.6/man1/ +i686-w64-mingw32-gcc -o testsuite.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o test.o -lm +i686-w64-mingw32-gcc -o gmqpak.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o pak.o +install -d -m755 distro/win32/gmqcc-0.3.6 +install -m755 gmqpak.exe distro/win32/gmqcc-0.3.6/gmqpak.exe +i686-w64-mingw32-gcc -o qcvm.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o exec.o -lm +install -d -m755 distro/win32/gmqcc-0.3.6 +install -m755 qcvm.exe distro/win32/gmqcc-0.3.6/qcvm.exe +i686-w64-mingw32-gcc -o gmqcc.exe ansi.o util.o hash.o stat.o fs.o opts.o conout.o main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o -lm +strip gmqcc.exe +install -d -m755 distro/win32/gmqcc-0.3.6 +install -m755 gmqcc.exe distro/win32/gmqcc-0.3.6/gmqcc.exe +strip qcvm.exe +strip testsuite.exe +make[2]: Leaving directory '/root/gmqcc' + adding: gmqcc-0.3.6/ (stored 0%) + adding: gmqcc-0.3.6/gmqpak.exe (deflated 65%) + adding: gmqcc-0.3.6/doc/ (stored 0%) + adding: gmqcc-0.3.6/doc/gmqpak.pdf (deflated 40%) + adding: gmqcc-0.3.6/doc/qcvm.pdf (deflated 30%) + adding: gmqcc-0.3.6/doc/gmqcc.pdf (deflated 17%) + adding: gmqcc-0.3.6/qcvm.exe (deflated 65%) + adding: gmqcc-0.3.6/gmqcc.exe (deflated 68%) +make[1]: Leaving directory '/root/gmqcc/distro/win32' + +Complete diff --git a/include.mk b/include.mk index efb4a89..23c3fb9 100644 --- a/include.mk +++ b/include.mk @@ -1,6 +1,5 @@ # default directories and paths DESTDIR := -OPTIONAL:= PREFIX := /usr/local BINDIR := $(PREFIX)/bin DATADIR := $(PREFIX)/share @@ -16,6 +15,10 @@ LIBS += -lm #common objects COMMON = ansi.o util.o hash.o stat.o fs.o opts.o conout.o +#optional flags +OPTIONAL_CFLAGS := +OPTIONAL_LDFLAGS := + #objects OBJ_C = $(COMMON) main.o lexer.o parser.o code.o ast.o ir.o ftepp.o utf8.o correct.o fold.o intrin.o OBJ_P = $(COMMON) pak.o