Difference between revisions of "Compiling Open Source Forensic Tools with MinGW"
From Forensics Wiki
m |
m (→Installing MinGW) |
||
| Line 5: | Line 5: | ||
<pre> | <pre> | ||
$ sudo port selfupdate | $ sudo port selfupdate | ||
| − | $ sudo port install i386-mingw32-binutils i386-mingw32-gcc | + | $ sudo port install i386-mingw32-binutils i386-mingw32-gcc \ |
| − | + | i386-mingw32-libunicows i386-mingw32-runtime \ | |
| − | + | i386-mingw32-w32api | |
</pre> | </pre> | ||
''note: If you get the error message 'warnings treated as errors' you will need to find the Makefile where -Werror is defined and erase it'' | ''note: If you get the error message 'warnings treated as errors' you will need to find the Makefile where -Werror is defined and erase it'' | ||
Latest revision as of 15:04, 19 April 2010
Many open source computer forensic tools can be cross-compiled with MinGW. This allows you to create Windows executable directly from a Macintosh computer or Linux machine without using the Microsoft VC++ environment.
[edit] Installing MinGW
- On a Mac using MacPorts
$ sudo port selfupdate
$ sudo port install i386-mingw32-binutils i386-mingw32-gcc \
i386-mingw32-libunicows i386-mingw32-runtime \
i386-mingw32-w32api
note: If you get the error message 'warnings treated as errors' you will need to find the Makefile where -Werror is defined and erase it