summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/mcode/windows/compile.ps14
-rw-r--r--dist/mcode/windows/complib.ps13
2 files changed, 4 insertions, 3 deletions
diff --git a/dist/mcode/windows/compile.ps1 b/dist/mcode/windows/compile.ps1
index 2dea73a..6f208ee 100644
--- a/dist/mcode/windows/compile.ps1
+++ b/dist/mcode/windows/compile.ps1
@@ -212,10 +212,10 @@ elseif ($Compile)
if ($Script_ExitCode -eq 0)
{ #
Write-Host " stripping executable..."
- #& $StripExecutable $GHDLExecutable
+ & $StripExecutable $GHDLExecutable
}
- if ($true) #$Script_ExitCode -eq 0)
+ if ($Script_ExitCode -eq 0)
{ # compile with GNAT
$Parameters = @()
$Parameters += $CFlags
diff --git a/dist/mcode/windows/complib.ps1 b/dist/mcode/windows/complib.ps1
index 29b07da..c7360a4 100644
--- a/dist/mcode/windows/complib.ps1
+++ b/dist/mcode/windows/complib.ps1
@@ -660,7 +660,8 @@ elseif ($Compile)
Set-Location $LocalDir2
$VHDLSrcLibrary = "std"
- foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
+ $VHDLSrcLibraryFiles = "std08"
+ foreach ($SourceFile in $SourceFiles[$VHDLSrcLibraryFiles])
{ Write-Host " file: v08\$SourceFile.v08"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v08)" }
Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `