Mercurial > mxe-octave
comparison index.html @ 2355:e48270110799
Remove unneeded classes in index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 12:27:14 +0200 |
parents | 99516e73b368 |
children | c15638fca657 |
comparison
equal
deleted
inserted
replaced
2354:81e1ef9426d2 | 2355:e48270110799 |
---|---|
300 <p> | 300 <p> |
301 In case you are using custom $PKG_CONFIG_PATH entries, | 301 In case you are using custom $PKG_CONFIG_PATH entries, |
302 you can add separate entries for cross builds: | 302 you can add separate entries for cross builds: |
303 </p> | 303 </p> |
304 <pre>export PKG_CONFIG_PATH="<em>entries for native builds</em>"</pre> | 304 <pre>export PKG_CONFIG_PATH="<em>entries for native builds</em>"</pre> |
305 <pre>export PKG_CONFIG_PATH_<span class="target-underscore">i686_pc_mingw32</span>="<em>entries for MXE builds</em>"</pre> | 305 <pre>export PKG_CONFIG_PATH_i686_pc_mingw32="<em>entries for MXE builds</em>"</pre> |
306 <p> | 306 <p> |
307 Remember to use <span class="target">i686-pc-mingw32</span>-pkg-config | 307 Remember to use i686-pc-mingw32-pkg-config |
308 instead of pkg-config for cross builds. | 308 instead of pkg-config for cross builds. |
309 The Autotools do that automatically for you. | 309 The Autotools do that automatically for you. |
310 </p> | 310 </p> |
311 | 311 |
312 <p> | 312 <p> |
326 <p> | 326 <p> |
327 If you use the | 327 If you use the |
328 <a href="http://www.lrde.epita.fr/~adl/autotools.html">Autotools</a>, | 328 <a href="http://www.lrde.epita.fr/~adl/autotools.html">Autotools</a>, |
329 all you have to do is: | 329 all you have to do is: |
330 </p> | 330 </p> |
331 <pre>./configure --host=<span class="target">i686-pc-mingw32</span> | 331 <pre>./configure --host=i686-pc-mingw32 |
332 make</pre> | 332 make</pre> |
333 | 333 |
334 <p> | 334 <p> |
335 If you build a library, you might also want to enforce a static build: | 335 If you build a library, you might also want to enforce a static build: |
336 </p> | 336 </p> |
337 <pre>./configure --host=<span class="target">i686-pc-mingw32</span> --enable-static --disable-shared | 337 <pre>./configure --host=i686-pc-mingw32 --enable-static --disable-shared |
338 make</pre> | 338 make</pre> |
339 | 339 |
340 <p> | 340 <p> |
341 Don't worry about a warning like this: | 341 Don't worry about a warning like this: |
342 </p> | 342 </p> |
351 <p> | 351 <p> |
352 If you have a | 352 If you have a |
353 <a href="http://www.cmake.org/">CMake</a> project, | 353 <a href="http://www.cmake.org/">CMake</a> project, |
354 you can use the provided toolchain file: | 354 you can use the provided toolchain file: |
355 </p> | 355 </p> |
356 <pre>cmake ... -DCMAKE_TOOLCHAIN_FILE=/<em>where MXE is installed</em>/usr/<span class="target">i686-pc-mingw32</span>/share/cmake/mingw-cross-env-conf.cmake</pre> | 356 <pre>cmake ... -DCMAKE_TOOLCHAIN_FILE=/<em>where MXE is installed</em>/usr/i686-pc-mingw32/share/cmake/mingw-cross-env-conf.cmake</pre> |
357 | 357 |
358 <h3>Step 5c: Cross compile your Project (Qt)</h3> | 358 <h3>Step 5c: Cross compile your Project (Qt)</h3> |
359 | 359 |
360 <p> | 360 <p> |
361 If you have a | 361 If you have a |
362 <a href="http://qt.nokia.com/">Qt</a> application, | 362 <a href="http://qt.nokia.com/">Qt</a> application, |
363 all you have to do is: | 363 all you have to do is: |
364 </p> | 364 </p> |
365 <pre><span class="target">i686-pc-mingw32</span>-qmake | 365 <pre>i686-pc-mingw32-qmake |
366 make</pre> | 366 make</pre> |
367 <p> | 367 <p> |
368 If you are using Qt plugins | 368 If you are using Qt plugins |
369 such as the svg or ico image handlers, | 369 such as the svg or ico image handlers, |
370 you should also have a look at the | 370 you should also have a look at the |
391 </p> | 391 </p> |
392 | 392 |
393 <p> | 393 <p> |
394 Then, all you have to do is: | 394 Then, all you have to do is: |
395 </p> | 395 </p> |
396 <pre>make CROSS=<span class="target">i686-pc-mingw32</span>-</pre> | 396 <pre>make CROSS=i686-pc-mingw32-</pre> |
397 <p> | 397 <p> |
398 That's it! | 398 That's it! |
399 </p> | 399 </p> |
400 | 400 |
401 <h3>Step 5e: Cross compile your Project (OSG)</h3> | 401 <h3>Step 5e: Cross compile your Project (OSG)</h3> |