diff options
author | lorch <lorch@epfl.ch> | 2008-05-20 07:08:00 +0000 |
---|---|---|
committer | lorch <lorch@epfl.ch> | 2008-05-20 07:08:00 +0000 |
commit | 3f4fe40cc5b1cf9111dcd8cb5692cd1aa7b4ad21 (patch) | |
tree | 28f3f3f18e995444fc3deb38cfe51a73ff141764 /src | |
parent | 4983ebac4ad24ea86606bcbed8556ea9434ad862 (diff) | |
download | scala-3f4fe40cc5b1cf9111dcd8cb5692cd1aa7b4ad21.tar.gz scala-3f4fe40cc5b1cf9111dcd8cb5692cd1aa7b4ad21.tar.bz2 scala-3f4fe40cc5b1cf9111dcd8cb5692cd1aa7b4ad21.zip |
The following error occurs on windows: "CreateP...
The following error occurs on windows: "CreateProcess error=206, "The
file name or extension is too long", since the argument list is too
long. We temporarily deactivated seperate compilation for msil until
this is fixed.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala index b1f3154cd6..426f740bb3 100644 --- a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala +++ b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala @@ -448,10 +448,11 @@ abstract class GenMSIL extends SubComponent { code.Emit(OpCodes.Ret) } createTypes() + val filename = new File(outDir, assemName + ".msil").getPath() if (settings.debug.value) - log("Output path: " + outDir.getPath) + log("Output path: " + filename) try { - massembly.Save(outDir.getPath) + massembly.Save(filename) val ilasm = Properties.msilILasm if (ilasm != "") { val generatedFiles = List.fromArray(massembly.GetGeneratedFiles) @@ -468,7 +469,7 @@ abstract class GenMSIL extends SubComponent { } } } catch { - case _: Error => abort("Could not save files in " + outDir.getPath) + case _: Error => abort("Could not save .msil files in " + outDir.getPath) } } |