Skip to content

Commit 8ca38de

Browse files
committed
INSTALL: update information about cross-compilation.
1 parent f6966ca commit 8ca38de

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

INSTALL

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,11 @@ Find produced DLL and EXE and copy wherever you want...
174174
Cross-compilation (an example)
175175
-------------------------------
176176

177+
1. With CMake:
178+
177179
Building for Windows can be done cross-compiling eg. on Linux with MinGW:
178180

179-
$ CC=i686-w64-mingw32-gcc util/cmake_shared_configure
181+
$ CC=x86_64-w64-mingw32-gcc util/cmake_shared_configure
180182

181183
or just use:
182184

@@ -194,6 +196,14 @@ require eg. configuring Windows CMake or tinkering test configuration to use
194196
Wine for execution etc...
195197
It should rather be tested and used on the native target system.
196198

199+
2. With autotools:
200+
201+
$ ./autogen.sh
202+
$ mkdir build
203+
$ cd build
204+
$ ../configure --host=x86_64-w64-mingw32
205+
$ make
206+
197207

198208
Links
199209
------

0 commit comments

Comments
 (0)