File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,11 @@ Find produced DLL and EXE and copy wherever you want...
174
174
Cross-compilation (an example)
175
175
-------------------------------
176
176
177
+ 1. With CMake:
178
+
177
179
Building for Windows can be done cross-compiling eg. on Linux with MinGW:
178
180
179
- $ CC=i686 -w64-mingw32-gcc util/cmake_shared_configure
181
+ $ CC=x86_64 -w64-mingw32-gcc util/cmake_shared_configure
180
182
181
183
or just use:
182
184
@@ -194,6 +196,14 @@ require eg. configuring Windows CMake or tinkering test configuration to use
194
196
Wine for execution etc...
195
197
It should rather be tested and used on the native target system.
196
198
199
+ 2. With autotools:
200
+
201
+ $ ./autogen.sh
202
+ $ mkdir build
203
+ $ cd build
204
+ $ ../configure --host=x86_64-w64-mingw32
205
+ $ make
206
+
197
207
198
208
Links
199
209
------
You can’t perform that action at this time.
0 commit comments