[go: up one dir, main page]

File: towin

package info (click to toggle)
findent 4.3.5-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 2,972 kB
  • sloc: sh: 9,350; cpp: 6,224; fortran: 2,901; lex: 690; yacc: 515; makefile: 224; python: 155; lisp: 52
file content (13 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# create findent for windows
a=i686-w64-mingw32
b=`gcc -dumpmachine`
export CXX="$a-g++ -static"

./configure --build=$b --host=$a 2>&1 | tee /tmp/towin.$a
if [ ${PIPESTATUS[0]} -ne 0 ] ; then
   echo "exiting configure for $a"
   exit
fi
make clean || exit 1
make V=1 -j4 check || exit 1