-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathREADME
30 lines (19 loc) · 799 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Binaries at
https://github.com/magarciaEPFL/scaladotnet/downloads
Example command-line:
scalacompiler.exe
-d C:\output\folder
-target:exe
-Ystruct-dispatch:no-cache
-Xassem-name HelloWorld.exe
-Xassem-extdirs C:\where\dlls\are
-Xshow-class hello.world.Main
C:\sample\HelloWorld.scala
(where "hello.world.Main" is the class with the main method)
Works best if different folders are given for -d and -Xassem-extdirs
Valid options for -target: exe, library, winexe, module.
Batch scripts to bootstrap the compiler under folder "internals".
Bootstrapping is jumpstarted by an initial cross-compilation via
https://github.com/magarciaEPFL/scala/tree/dotnetcrosscompiler
Miguel
http://lamp.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/