Skip to content

pbo-linaro/build-extlibs

 
 

Repository files navigation

Introduction

This repository contains build scripts used for building external libraries that are bundled with strawberry perl.

The binaries are available at:

Initial Setup

  1. install base MSYS2 environment into e.g. z:\msys2 see https://sourceforge.net/projects/msys2/ run: z:\msys2\msys2_shell.cmd

  2. install additional MSYS2 packages (no GCC!) from MSYS2 shell:

pacman -Sy --noconfirm curl wget ca-certificates openssh openssl nano tar xz p7zip zip unzip bzip2
pacman -Sy --noconfirm patch git make autoconf libtool nano automake man flex bison pkg-config 
pacman -Sy --noconfirm perl-libwww perl-IPC-Run3 perl-IO-Socket-SSL perl-Archive-Zip perl-LWP-Protocol-https perl-Digest-SHA
pacman -Sy --noconfirm python2
pacman -Syu --noconfirm
  1. unpack gcc-4.8.3 toolchains into e.g. z:\mingw32bit.483 and z:\mingw64bit.483

  2. unpack cmake into e.g. z:\cmake

  3. download or git clone build-extlibs into e.g. z:\extlib

  4. check correct paths to cmake and gcc in msys2_shell_483_32.bat and msys2_shell_483_64.bat

Building libraries

  1. source code tarball must be listed in sources.list

  2. edit "job file" e.g. 2014Q4

  3. 32bit build:

    • start msys2_shell_483_32.bat
    • from MSYS2 shell:
$ cd /z/extlib
$ ./build.sh 2014Q4 _
  • NOTE: _ means that all DLLs will have special suffix *_.dll e.g. zlib1_.dll
  1. 64bit build:
    • start msys2_shell_483_64.bat
    • from MSYS2 shell:
$ cd /z/extlib
$ ./build.sh 2014Q4 __
  • NOTE: __ means that all DLLs will have special suffix *__.dll e.g. zlib1__.dll
  1. see _out directory for outputs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 56.4%
  • Makefile 24.1%
  • Shell 8.8%
  • CMake 6.9%
  • Perl 2.5%
  • C++ 0.9%
  • Batchfile 0.4%