Linux -> Windows Cross Compiler
Sometimes you just gotta bite the bullet. One easy way is the following:
- Install flex, bison, and m4.
- Install GCC 3.4
- Tell your toolchain to temporarily use that version:
export CC=/usr/bin/gcc-3.4
- Download this script.
- Some other notes on what this is doing are available here.
- Edit the top of the script to reflect your own settings.
- Run the script, making sure to use bash and not sh.
Done!