Hello,

- after installing, local script execution needs to be enabled from an 
admin-level PowerShell:
  Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Oh sorry. Yes, that's a security feature. By default only signed scripts from trusted environments are allowed. This cmdlet set the policy to a lower level.
- Local scripts can be executed.
- Remote scripts still need to be signed.


- compile.ps1 ghdl.exe size is 5x that of compile.bat

Yes it's bigger in size, but offers a lot more features :)


- compile.ps1 not 
running strip on exe

There is a strip run on ghdl.exe, isn't it?




-------- Ursprüngliche Nachricht --------
Von: Brian Davis
Datum:30.01.2015 03:04 (GMT+01:00)
An: [email protected]
Betreff: Re: [Ghdl-discuss] New build scripts for GHDL on Windows

Tristan wrote:
>
> Is someone against removing old .bat scripts ?
> I'd prefer not to have two ways to build on windows
>
I have no objection to switching to PowerShell for the Windows build.

I would suggest waiting a month or so before removing the .bat files,
in the event of any issues with the new scripts.

My initial PowerShell build notes:

- my copy of Windows 7 Pro needed the PowerShell 4.0 update mentioned
by Patrick.

- after installing, local script execution needs to be enabled from an
admin-level PowerShell:
  Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

- compile.ps1 ghdl.exe size is 5x that of compile.bat ( compile.ps1 not
running strip on exe )

-Brian

--------------

Posted by Tristan Gingold on January 23, 2015 - 06:45:

On 21/01/15 18:26, Lehmann, Patrick wrote:

    Hello to all,

    I translated the current batch file based build flow on Windows to
    PowerShell scripts. Every
     Windows is equipped with PowerShell so it shouldn’t be any problem
to
    use these new scripts.


FTR, wasn't PowerShell introduced with Vista ?

     This e-mail shall mainly address all Windows user, who build their
GHDL
    from source code.

     Nevertheless, all readers of this mailing list can write their
comments
    and give suggestions.


There are a lot of documentation in this mail, I will copy part of it in
the README.

Is someone against removing old .bat scripts ? I'd prefer not to have
two ways to build on windows (maintenance burden and could be confusing
for users).


Thanks again,
Tristan.





_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to