Changeset 804


Ignore:
Timestamp:
03/08/06 11:35:37 (7 years ago)
Author:
faa59
Message:

Latest MinGW updates

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.MinGW

    r737 r804  
    88 
    99If you wish a Microsoft compatible import library (.LIB file that references a DLL) to also be built, you need to make sure the LIB command is available in your MinGW path. Type LIB at the MSYS prompt now to check if this is so. 
     10 
     11Edit applications/NXtranslate/text_xml/Makefile.am and  
     12applications/NXtranslate/Makefile.am and in both replace 
     13`xml2-config --cflags`  with  -I/usr/local/include in  AM_CPPFLAGS 
    1014 
    1115Now just type 
     
    3135Enjoy! 
    3236 
     37 
     38 
     39Use libtool 1.5 but note it has problems as MinGW does not ship the unix "file" command so you get "file magic" errors 
     40 
     41to remedy, install  file.MinGW   as /usr/local/bin/file and chmod +x it 
     42 
     43also rename libmxml.a as libmxml.dll.a 
     44 
    3345Freddie Akeroyd (F.A.Akeroyd@rl.ac.uk) 
    3446 
     
    3648 
    3749$Id$ 
     50=================================================================== 
     51RCS file: /isis/cvs/repository/nexus/applications/NXtranslate/text_xml/Makefile.am,v 
     52retrieving revision 1.3 
     53diff -r1.3 Makefile.am 
     5432c32 
  • trunk/configure.ac

    r798 r804  
    132132        AC_MSG_NOTICE([Java SDK home is $javaroot]) 
    133133        JAVAINCLUDE="-I$javaroot/include" 
    134         AC_PATH_PROGS(JAVAC,javac,,[$javaroot/bin:$PATH]) 
     134        AC_PATH_PROGS(JAVAC,gcj javac,,[$javaroot/bin:$PATH]) 
     135        if test `basename "$JAVAC"` = "gcj"; then 
     136            JAVACFLAGS="-C"     # force creation of .class files 
     137        fi 
    135138        AC_PATH_PROGS(JAVADOC,javadoc,,[$javaroot/bin:$PATH]) 
    136139        AC_PATH_PROGS(JAR,jar,,[$javaroot/bin:$PATH]) 
    137         AC_PATH_PROGS(JAVA,java,,[$javaroot/bin:$PATH]) 
    138         AC_PATH_PROGS(JAVAH,javah,,[$javaroot/bin:$PATH]) 
    139 fi 
     140        AC_PATH_PROGS(JAVA,gij java,,[$javaroot/bin:$PATH]) 
     141        AC_PATH_PROGS(JAVAH,gcjh javah,,[$javaroot/bin:$PATH]) 
     142fi 
     143 
    140144 
    141145#AC_ARG_WITH([java], AC_HELP_STRING([--with-java=java compiler], [Specify name of Java compiler]), 
     
    165169#       JAVAINCLUDE= 
    166170#fi 
     171AC_SUBST(JAVACFLAGS) 
    167172AC_SUBST(SHARED_LDFLAGS) 
    168173AC_SUBST(JAVAINCLUDE) 
  • trunk/make_mingw_links

    r737 r804  
    3434# HDF5 windows binary install  (from http://hdf.ncsa.uiuc.edu) 
    3535# 
    36 ln -sf "/c/program files/hdf/5-164-win/include" /usr/local/hdf5/include 
    37 ln -sf "/c/program files/hdf/5-164-win/dll/hdf5dll.dll" /usr/local/hdf5/lib/libhdf5.dll 
     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 
    3838# 
    3939# ZLIB (from http://www.gzip.org/zlib/) 
     
    4343# SZIP from http://hdf.ncsa.uiuc.edu/ 
    4444# 
    45 ln -sf "/c/program files/hdf/szip20-win-xp-enc/dll/szlibdll.dll" /usr/local/lib/libsz.dll 
     45ln -sf "/c/program files/hdf/szip20-win-xp-noenc/dll/szlibdll.dll" /usr/local/lib/libsz.dll 
    4646# 
    4747# LIBXML2 (optional; only needed for NXtranslate) from http://xmlsoft.org/ 
Note: See TracChangeset for help on using the changeset viewer.