Changeset 347
- Timestamp:
- 05/24/08 19:42:04 (5 months ago)
- Files:
-
- 1 modified
-
trunk/INSTALL_Win32.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/INSTALL_Win32.txt
r343 r347 45 45 * msysDTK (1.0.1 works) 46 46 47 Libtool from msysDTK in incomplete, it needs an additional fileutility. You47 Libtool from msysDTK in incomplete, it needs an additional 'file' utility. You 48 48 can get this from http://gnuwin32.sf.net. Do NOT install it in the MSYS directory 49 but somewhere else that is already mounted (e.g. into the mingw directory). 49 but somewhere else that is already mounted and in $PATH (e.g. into the mingw 50 directory). 50 51 51 52 Additionally, download the following packages from http://www.gtk.org/download-windows.html: … … 69 70 $ autoreconf -v -f -i 70 71 71 Now you need some environment variable for configure:72 Now you need some environment variables for configure: 72 73 $ export CFLAGS="-I/libusb/include -I/glib/include -I/psdk/include" 73 74 $ export LDFLAGS="-L/libusb/lib/gcc -L/glib/lib" … … 78 79 $ ./configure --prefix=/mingw --disable-shared 79 80 80 This will build a static library. D oto a bug in libtool, you cannot build the81 This will build a static library. Due to a bug in libtool, you cannot build the 81 82 static and the shared version at the same time. To build the shared version, run: 82 83 $ ./configure --prefix=/mingw --disable-static 83 84 84 85 85 … … 116 116 af_irda.h 117 117 118 You _MUST_ add the MinGW directories of the include files, libraries 119 and executables to the environment variables INCLUDE, LIB and PATH.118 Either you add MinGW bin directory to PATH, or you call the mingw32-make with 119 full path, both variations work. 120 120 Then, at the command prompt: 121 > set INCLUDE=%INCLUDE%;C:\mingw\include122 > set LIB=%LIB%;C:\mingw\lib123 121 > set PATH=%PATH%;C:\mingw\bin 124 122 > mkdir build … … 128 126 129 127 You can also use MSYS as environment: 130 > export INCLUDE=$INCLUDE;C:\mingw\include131 > export LIB=$LIB;C:\mingw\lib132 128 > mkdir build 133 129 > cd build
