/[gnokii]/gnokii/win32/mingw-cross/mingw-cross.sh
ViewVC logotype

Diff of /gnokii/win32/mingw-cross/mingw-cross.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by bozo, Fri Jul 23 08:56:47 2004 UTC revision 1.5 by bozo, Tue Nov 8 21:29:37 2005 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3  ##### config begin #####  ##### config begin #####
4  MINGW_PATH=/usr/mingw  HOST=i386-mingw32
 HOST=i386-pc-mingw32  
5  ##### config end #######  ##### config end #######
6    
 OLDPATH=$PATH  
 PATH=$MINGW_PATH/bin:$OLDPATH  
 export PATH  
7  ./configure --host=$HOST --prefix=/ --enable-security --disable-nls --enable-win32 --without-x  ./configure --host=$HOST --prefix=/ --enable-security --disable-nls --enable-win32 --without-x
8    
9  HOST_CC="PATH=$OLDPATH cc"  HOST_CC="cc"
10  export HOST_CC  export HOST_CC
11    
12    
13  cat <<EOF >confsubst  cat <<EOF >confsubst
14  s%^exeext=.*$%exeext="exe"%  s%^soname_spec=.*$%soname_spec="\\\\\${name}.dll"%
 s%^libext=.*$%libext="lib"%  
 s%^libname_spec=.*$%libname_spec="\\\\\$name"%  
15  EOF  EOF
16  cp libtool libtool.orig  cp libtool libtool.orig
17  sed -f confsubst <libtool.orig >libtool  sed -f confsubst <libtool.orig >libtool

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26