From 4909313b2ad478d8009bdae7838b4b674812f4a3 Mon Sep 17 00:00:00 2001 From: Rob Joyce <rob@redglow.org> Date: Tue, 7 Feb 2012 17:58:27 -0500 Subject: [PATCH] Update instructions for Windows builds. --- INSTALL.txt | 7 ++++--- README_win32.txt | 21 +++++++++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index c61236d7c..029474659 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -3,7 +3,7 @@ Installation Instructions - Last Modified: March 2010 + Last Modified: Feb 2012 REQUIREMENTS @@ -16,8 +16,9 @@ Tested Platform: - SunOS 4-5.* - Windows -System: -- C compiler +Build System: +- C/C++ compiler +- Java compiler / JDK - GNU Make Optional Programs: diff --git a/README_win32.txt b/README_win32.txt index f6daaf990..495694343 100644 --- a/README_win32.txt +++ b/README_win32.txt @@ -3,7 +3,7 @@ http://www.sleuthkit.org/sleuthkit - Last Modified: Sept 2008 + Last Modified: Feb 2012 ==================================================================== The Sleuth Kit (TSK) runs on Windows. If you simply want the @@ -15,9 +15,22 @@ One is to use Microsoft Visual Studio. The VS solution file is in the win32 directory. Refer to the BUILDING.txt file in that directory for details. -You can also compile Windows executables on Linux using mingw32. -Simply give the "--host=i586-mingw32msvc" argument when running the -'./configure' script and use 'make' to compile. +You can also compile Windows executables using mingw32. If you're +using mingw32 on Linux, simply give the "--host=i586-mingw32msvc" +argument when running the './configure' script and use 'make' to +compile. If you're using mingw32 on Windows, './configure' and +'make' will work directly. + +Note that compilation requires a JDK be installed, and by default +the Oracle JDK on Windows is installed in a path such as +C:\Program Files\Java\jdk1.6.0_16\. GNU autotools do not handle +paths containing spaces, so you will need to copy the JDK to a +directory without spaces in the name, such as C:\jdk1.6.0_16\, then +add C:\jdk1.6.0_16\bin to $PATH before running './configure' + +Note also that libtool may fail on mingw32 on Windows if +C:\Windows\system32 is on $PATH before /usr/bin. The fix is to have +the C:\Windows directories at the _end_ of your mingw $PATH. ------------------------------------------------------------------- carrier <at> sleuthkit <dot> org -- GitLab