{"id":20989242,"url":"https://github.com/logue/vagrant-mxe","last_synced_at":"2025-03-13T11:43:41.573Z","repository":{"id":142016385,"uuid":"236739775","full_name":"logue/vagrant-mxe","owner":"logue","description":"MinGW Cross Environment (MXE) Vagrant box","archived":false,"fork":false,"pushed_at":"2023-02-16T06:26:23.000Z","size":16,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T07:46:10.007Z","etag":null,"topics":["cross","mingw","mingw-cross-environment","mxe","vagrant"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-28T13:19:41.000Z","updated_at":"2021-05-07T09:28:18.000Z","dependencies_parsed_at":"2023-07-07T07:45:27.653Z","dependency_job_id":null,"html_url":"https://github.com/logue/vagrant-mxe","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logue%2Fvagrant-mxe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logue%2Fvagrant-mxe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logue%2Fvagrant-mxe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logue%2Fvagrant-mxe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logue","download_url":"https://codeload.github.com/logue/vagrant-mxe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243401486,"owners_count":20285051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross","mingw","mingw-cross-environment","mxe","vagrant"],"created_at":"2024-11-19T06:24:13.995Z","updated_at":"2025-03-13T11:43:41.546Z","avatar_url":"https://github.com/logue.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mxe vagrant box\n\nThis repository contains everything necessary to build a [Vagrant](https://www.vagrantup.com/) box based on [Debian buster](https://www.debian.org/releases/buster/) with a preinstalled [MinGW Cross Environment (MXE)](http://mxe.cc/) cross-building environment.\n\nInstead of building a base box from scratch an [existing box](https://app.vagrantup.com/debian/boxes/buster64) is modified and repackaged as described by [Nicholas Cerminara](https://scotch.io/tutorials/how-to-create-a-vagrant-base-box-from-an-existing-one).\n\n## Usage\n\n1. Modify `share/mxe/settings.mk`.\n2. Install vagrant-vbguest. (type `vagrant plugin install vagrant-vbguest`.)\n3. Run `vagrant up --provision`.\n4. Put project directory onto `share`.\n5. Enter virtual machine with `vagrant ssh`.\n6. Execute the build command in the project directory in the `share` directory.\n\n## Troubleshooting\n\n### Vagrant was unable to mount VirtualBox shared folders.\n\nThis error occurs when the host vbguest and client vbguest versions do not match.\nType and update the following commands.\n\n```sh\nvagrant vbguest\n```\n\nReload when you're done.\n\n## Typical build script\n\nPut this file in the project directory where you want to build and execute it with ssh.\n\n```sh\n#!/bin/sh\n\nMINGW_ROOT=/home/$USER/mxe\nMINGW_PREFIX=$MINGW_ROOT/usr\nMINGW_TARGET=x86_64-w64-mingw32.static\nMINGW_PATH=\"$MINGW_PREFIX/$MINGW_TARGET/bin:$MINGW_PREFIX/bin\"\nSTD_PATH=\"/usr/local/bin:/usr/bin:/bin:/usr/X11/bin\"\n\nPATH=\"$MINGW_PATH:$STD_PATH\" \\\n  ACLOCAL_FLAGS=\"-I$MINGW_PREFIX/$MINGW_TARGET/share/aclocal\" \\\n  LDFLAGS=-Wl,-S LIBS=\"-lstdc++ -lws2_32 -liphlpapi\" \\\n  ./autogen.sh \\\n  --prefix=$MINGW_PREFIX --target=$MINGW_TARGET --host=$MINGW_TARGET \\\nPATH=\"$MINGW_PATH:$STD_PATH\" make -j`nproc`\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogue%2Fvagrant-mxe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogue%2Fvagrant-mxe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogue%2Fvagrant-mxe/lists"}