source: trunk/make_mingw_links @ 1822

Revision 804, 2.2 KB checked in by faa59, 6 years ago (diff)

Latest MinGW updates

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#!/bin/sh
2#
3# $Id$
4#
5# Create links needed by MinGW to various libraries that exist on
6# the windows file system. The basic idea is that we link in the Windows
7# installed versions of these libraries and make then look like
8# standard unix libraries for configure to pick up. An alternative would be
9# to build the HDF etc. libraries from source under MinGW
10#
11# first create the /usr/local hierarchy
12#
13for i in /usr/local /usr/local/include /usr/local/bin /usr/local/lib \
14         /usr/local/hdf4 /usr/local/hdf4/lib \
15         /usr/local/hdf5 /usr/local/hdf5/lib ; do
16    [ -d $i ] || mkdir $i
17done
18#
19### BEGIN USER CONFIGURATION ###
20#
21# CHANGE THESE TO THE LOCATIONS OF THE VARIOUS LIBRARIES
22# ON THE WINDOWS SYSTEM
23#
24# For Mini-XML you should download the source from
25# http://www.easysw.com/~mike/mxml/ and then compile directly
26# under MinGW to install the library into /usr/local/lib
27#
28# HDF4 windows binary install (from http://hdf.ncsa.uiuc.edu)
29#
30ln -sf "/c/program files/hdf/42r1-win/release/include" /usr/local/hdf4/include
31ln -sf "/c/program files/hdf/42r1-win/release/dll/hd421m.dll" /usr/local/hdf4/lib/libdf.dll
32ln -sf "/c/program files/hdf/42r1-win/release/dll/hm421m.dll" /usr/local/hdf4/lib/libmfhdf.dll
33#
34# HDF5 windows binary install  (from http://hdf.ncsa.uiuc.edu)
35#
36ln -sf "/c/program files/hdf/5-165-win/include" /usr/local/hdf5/include
37ln -sf "/c/program files/hdf/5-165-win/dll/hdf5dll.dll" /usr/local/hdf5/lib/libhdf5.dll
38#
39# ZLIB (from http://www.gzip.org/zlib/)
40#
41ln -sf "/c/program files/hdf/zlib122-windows/zlib1.dll" /usr/local/lib/libz.dll
42#
43# SZIP from http://hdf.ncsa.uiuc.edu/
44#
45ln -sf "/c/program files/hdf/szip20-win-xp-noenc/dll/szlibdll.dll" /usr/local/lib/libsz.dll
46#
47# LIBXML2 (optional; only needed for NXtranslate) from http://xmlsoft.org/
48#
49ln -sf "/c/program files/libxml2-2.6.20.win32/bin/libxml2.dll" /usr/local/lib/libxml2.dll
50ln -sf "/c/program files/libxml2-2.6.20.win32/include/libxml" /usr/local/include/libxml
51#
52# LIBICONV (optional; only needed for NXtranslate)
53#
54ln -sf "/c/program files/iconv-1.9.1.win32/include/iconv.h" /usr/local/include/iconv.h
55ln -sf "/c/program files/iconv-1.9.1.win32/bin/iconv.dll" /usr/local/lib/libiconv.dll
56#
57### END OF USER CONFIGURATION ###
58#
Note: See TracBrowser for help on using the repository browser.