Skip to content

Commit

Permalink
Create cygwin_build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Mar 2, 2014
1 parent 3b94087 commit 7457ae7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions contrib/cygwin_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
# script to build Julia in Cygwin assuming the following packages are installed
# - make
# - mingw64-x86_64-gcc-g++ (for 64 bit)
# - mingw64-x86_64-gcc-fortran (for 64 bit)
# - mingw-gcc-g++ (for 32 bit)
# - mingw-gcc-fortran (for 32 bit)
# - dos2unix

dos2unix contrib/relative_path.sh

if [ `arch` = x86_64 ]; then
XC_HOST=x86_64-w64-mingw32 make
else
XC_HOST=i686-pc-mingw32 make
fi

0 comments on commit 7457ae7

Please sign in to comment.