SPADS PerlUnitSync module generation for Windows

From Spring
Revision as of 11:06, 14 November 2015 by Bibim (talk | contribs) (obsolete)
Jump to navigationJump to search

This procedure is obsolete since SPADS 0.11.36, it is just kept here for reference. SPADS now uses the Win32::API module for unitsync library interface on Windows, it doesn't require generating Swig wrappers anymore.

This document describes how to generate the PerlUnitSync wrapper files for Windows. It is aimed at SPADS maintainer only. By default SPADS automatically downloads these files from maintainer's repository, so you don't need to regenerate them unless you want to compile your own wrapper for specific unitsync versions.

Requirements

Following components must be installed on the system and added to your PATH environment variable:

  • Swig
  • GCC Version 4
  • GNU Binutils
  • MinGW API for MS-Windows
  • MinGW Runtime
  • MinGW Utilities

The PERL5_LIB environment variable must be set to the Perl5 library of your Perl installation (example: "C:\Perl\lib\CORE\perl516.lib")

Procedure

The PerlUnitSync module generation must be launched from SPADS directory as follows:

   perl spadsInstaller.pl -g