diff options
author | jfrijters <jfrijters> | 2008-09-22 08:26:45 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2008-09-22 08:26:45 +0400 |
commit | 7adf05c644ce289b75a840e2b8ac248f791d02b8 (patch) | |
tree | 2584f3538c7c6a381af3f8601f79974081baaab3 /HOWTO | |
parent | 338a3b3c5fa9fe679e0aa095a2cd68edf9381a2d (diff) |
Updated build instructions.
Diffstat (limited to 'HOWTO')
-rw-r--r-- | HOWTO | 40 |
1 files changed, 36 insertions, 4 deletions
@@ -1,5 +1,37 @@ -TODO +IKVM Build Instructions +----------------------- -> - extend HOWTO file with information about .NET versions -> - extend HOWTO with information about signing -> - extend HOWTO with information that build has two passes +This IKVM source bundle requires GNU Classpath 0.95 and OpenJDK 6 b12 sources (and resources). + +They can be downloaded from the SourceForge IKVM project, or from: + +http://www.frijters.net/classpath-0.95-stripped.zip +http://www.frijters.net/openjdk6-b12-stripped.zip + +These files should be unzipped in the same directory as where the ikvm directory +(that contains this unzipped source bundle) lives. + +Open a Visual Studio 2008 Command Prompt (i.e. one that has the Windows and .NET Framework SDK +environment variables set). + +Add NAnt 0.85 to the PATH. + +From the ikvm directory run "nant clean" and "nant". + +You now should have the built binaries in ikvm/bin. + + +Additional Information +---------------------- + +IKVM.Runtime.dll and IKVM.OpenJDK.ClassLibrary.dll mutually depend on eachother. This is +accomplished by building IKVM.Runtime.dll in two passes. The first pass defines the methods +and types that IKVM.OpenJDK.ClassLibrary.dll uses, but generally with an empty method body +(look for #if FIRST_PASS in the IKVM.Runtime.dll sources). The second pass is built after +IKVM.OpenJDK.ClassLibrary.dll has been built. + +The version numbers of the build are defined in ikvm/CommonAssemblyInfo.cs, +ikvm/openjdk/openjdk.build and ikvm/jvm.JVM.il. + +If you want to do a strong named build, make sure you have a key container installed named +"ikvm-key" and run the build with "nant clean" and "nant signed". |