Bsd updating ports tree
Certain packages contain native tools that are currently 32-bit only.In order to build these on a 64-bit system, multi-lib support must be enabled in the compiler toolchain. To build the remainder of MXE, specify the affected packages to exclude: (contact via the project mailing list) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.In case you are using custom $PKG_CONFIG_PATH entries, you can add separate entries for cross builds: Remember to use i686-w64-mingw32.static-pkg-config instead of pkg-config for cross builds. Note that any other compiler related environment variables (like $CC, $LDFLAGS, etc.) may spoil your compiling pleasure, so be sure to delete or disable those.For the most isolated and repeatable environment, use a white-list approach: Note that Qt 4 is in the "qt" subdirectory.Note the sql drivers (-qt-sql-*) and the image handlers for jpeg, tiff, gif and mng are built-in, That's it!
Using static Open Scene Graph libraries requires a few changes to your source.Install file(1) from ports, because file(1) from base works very-very-very slow with long text files. Requirements should match the Debian, Fedora, open SUSE etc.sections above, but care should be taken to ensure MXE is installed in the Linux subsystem under 32-bit systems may have insufficient virtual memory to build all of MXE.If you don't mind installing it in your home directory, just skip the following step and go straight to step 3.