blob: d4140487c25ee68bc95818cff722de8d0dfa87e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
### Status
Things may work for you, or may not. Things may never work because of huge differences between Linux and Windows. Or things may work in future, if you report the problem to https://github.com/rmyorston/busybox-w32.
### Building
You need a MinGW compiler and a POSIX environment (so that `make menuconfig` works). I cross compile from Linux, but MSYS or Cygwin should be OK.
To start, run `make mingw32_defconfig`. You can then customize your build with `make menuconfig`.
In particular you may need to adjust the compiler by going to Busybox Settings -> Build Options -> Cross Compiler Prefix
Then just `make`.
### Limitations
- Use forward slashes in paths: Windows doesn't mind and the shell will be happier.
- Don't do wild things with Windows drive or UNC notation.
- tar doesn't support seamless compression/decompression: use a pipeline to a compressor/decompressor.
- Wildcard expansion is disabled by default, though it can be turned on at compile time. This only affects command line arguments to the binary: the BusyBox shell has full support for wildcards.
- Handling of users, groups and permissions is totally bogus. The system only admits to knowing about the current user and always returns the same hardcoded uid, gid and permission values.
|