Paste number 335894: collect-guile

Paste number 335894: collect-guile
Pasted by: janneke
When:5 years, 7 months ago
Share:Tweet this! | http://paste.lisp.org/+776E
Channel:None
Paste contents:
Raw Source | XML | Display As
#! /bin/sh

for i in\
 guile\
 readline\
 ncurses\
 libatomic-ops\
 libltdl\
 libiconv\
 libunistring\
 libgc\
 gmp\
 libffi\
 ; do  
  ./pre-inst-env guix build --quiet --target=i686-w64-mingw32 $i;
done | tee g.lst

./pre-inst-env guix build --quiet gcc-cross-i686-w64-mingw32 | tee -a g.lst
guile=$(./pre-inst-env guix build --quiet --target=i686-w64-mingw32 guile | grep -Ev '[-](debug|doc)')

dirs=$(grep -Ev '[-](debug|doc)' g.lst)
echo $dirs

files=

rm -rf exe/bin
mkdir -p exe/bin
cp $(find $dirs -name guile.exe -o -name '*.dll' -o -name '*.la') exe/bin
tar -czvf exe.tar.gz exe $guile/bin $guile/lib $guile/share

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.