> -----Original Message----- > From: Ghdl-discuss [mailto:[email protected]] On Behalf Of > Brian Davis > Sent: Friday, January 30, 2015 11:54 PM > To: [email protected] > Subject: Re: [Ghdl-discuss] New build scripts for GHDL on Windows > > On January 30, Patrick wrote: > >> > >> - compile.ps1 ghdl.exe size is 5x that of compile.bat > >> > > Yes it's bigger in size, but offers a lot more features :) > > > > My "5x" comment was comparing the resulting sizes for ghdl.exe ( not the > script size ): > compile.ps1 results: ghdl.exe 10,285,541 > compile.bat results: ghdl.exe 2,411,534 > > The size difference seems to be due to 'compile.bat' running strip on the exe > file, whereas 'compile.ps1' does not. > Hmmm, .... I found the bug: line 215 -> the strip call is a comment. I fixed it. Ghdl.exe has now 2,411,534 bytes.
> After running strip, the sizes match, but the binaries differ- I haven't > investigated why yet, might be something simple like link order or compile > flags. > > I.e., as a test of the new build scripts, I am looking to see if the binaries > match: I would expect that identical source trees, using the same GNAT > compiler version and commands, should produce matching binaries (except > for time stamps and the like). > > -Brian > > -------------------------------------------- > > Posted by Lehmann, Patrick on January 30, 2015 - 06:49: > 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: ghdl-discuss@xxxxxxx > 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 > > > _______________________________________________ > Ghdl-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/ghdl-discuss
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
