Re: [Firebird-devel] Firebird.pas for the windows build

2016-03-25 Thread preeves
On Thu, 24 Mar 2016 12:35:25 +0300
Alex Peshkoff  wrote:

> On 03/23/2016 06:39 PM, preeves wrote:
> > Firebird.pas is generated in the posix builds but it is not
> > generated in the windows builds. Posix builds generate it via this
> > target:
> >
> > $(API_PAS_FILE): $(IDL_FILE) $(PASCAL_SOURCES) $(TMP_FUNCS)
> >  $(CLOOP) $(IDL_FILE) pascal $@ Firebird --uses SysUtils \
> >  --interfaceFile $(PAS_ROOT)/Pascal.interface.pas \
> >  --implementationFile $(PAS_ROOT)/Pascal.implementation.pas
> > \ --exceptionClass FbException \
> >  --functionsFile $(TMP_FUNCS) \
> >  --prefix I
> >
> > There seems to be more going on here than simple file
> > concatenation.  
> 
> Much more.
> 
> >
> > How are we meant to do this in the windows build?  
> 
> Paul, I see 2 alternatives.
> 1. (correct) Build cloop and execute same command.
> 2. (simple) We can add firebird.pas to git and keep in sync with 
> firebird.idl (like now happens with IdlFbInterfaces.h).

I think it might be easier to do simple instead of correct. AFAICT a
git push will pick up a changed Firebird.pas each time it is rebuilt on
a posix host, so it won't be too difficult to keep it up-to-date.


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Firebird.pas for the windows build

2016-03-23 Thread preeves

Firebird.pas is generated in the posix builds but it is not generated
in the windows builds. Posix builds generate it via this target:

$(API_PAS_FILE): $(IDL_FILE) $(PASCAL_SOURCES) $(TMP_FUNCS)
$(CLOOP) $(IDL_FILE) pascal $@ Firebird --uses SysUtils \
--interfaceFile $(PAS_ROOT)/Pascal.interface.pas \
--implementationFile $(PAS_ROOT)/Pascal.implementation.pas \
--exceptionClass FbException \
--functionsFile $(TMP_FUNCS) \
--prefix I

There seems to be more going on here than simple file concatenation.

How are we meant to do this in the windows build?



Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] WOW64 in FB3

2015-12-12 Thread preeves
On Fri, 11 Dec 2015 20:43:36 +0100
liviuslivius  wrote:

> Hi,
>  
> i do not see WOW64 subdir on Firebird3 instalation.
> It was in FB2.1 and it was usefull - on 64bit system FB is installed
> as 64bit but application can be 32bit. And in this dir we can simple
> get 32bit fbclient.dll. Is it planned for final release?
> Or only way is to download 32 bit zip?
>  

It is in the binary installer for x64 and is installed
automatically. There is no option to not install it.

It has never been a part of the x64 zip kit.


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird 3 and zlib compression

2015-12-11 Thread preeves
On Fri, 11 Dec 2015 14:06:31 -0200
Adriano dos Santos Fernandes  wrote:

> Any chance an anti-virus program being deleting it?


No. The builds are done on a VM. There is no anti-virus software
installed there. New software is rarely installed on the firebird build
VMs and when it is, it is checked for viruses before copying into the
VM.


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird



--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird 3 and zlib compression

2015-12-11 Thread preeves
On Fri, 11 Dec 2015 18:33:54 +0300
Dmitry Yemanov  wrote:

> 11.12.2015 18:21, Mark Rotteveel wrote:
> 
> > Maybe because the Windows build doesn't have a /bin?
> 
> By /bin I meant the binaries directory, referred via %FB_BIN_DIR%.
> It's inherited from the v2.5 build but v3 defines as "fb-root" on
> Windows. So no, it should not be a problem.
> 
> Also, as I said before, snapshot builds use the same batch files and 
> they have zlib1.dll packaged properly.
> 

I've looked into this and part of the mystery has been solved.
zlib1.dll doesn't get packaged into the binary installer. I'll fix that.

But for some unexplainable reason zlib1.dll didn't get generated for
RC1. I've been trying to work out why but I can't reproduce the
problem. It is in the zip package for Beta 2 and I've built trunk and
rebuilt RC1 today and it is generated correctly and packaged into the
zip kits.

make_boot.bat has this line:
  @copy %FB_ROOT_PATH%\extern\zlib\%FB_TARGET_PLATFORM%\*.dll
 %FB_BIN_DIR% >nul 2>&1

It might be a good idea to catch and raise any errors, rather than
throw them away. 

Alternatively we could change this test:

if exist %FB_ROOT_PATH%\extern\zlib\zlib.h (
  @echo %FB_ROOT_PATH%\extern\zlib\zlib.h already extracted

because in my slightly broken RC1 zlib.h had been extracted, but the
dll's weren't. The build process executes zlib.exe twice, once for
win32 and once for x64. It would seem that the initial extraction
failed to produce the dll's but did extract the header. And the second
attempt, for the x64 build found the header and moved on.

To be honest I don't see any need for this test anyway.


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird 3 and zlib compression

2015-12-11 Thread preeves
On Fri, 11 Dec 2015 00:13:09 +0300
Dmitry Yemanov  wrote:
> 
> It should be included. I see zlib1.dll present in snapshot builds
> but, wierdly enough, not in the official RC1 packages. To be
> investigated.
> 

I can see zlib.exe and the instructions to use it but it doesn't seem
to be integrated into the build process.


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird



--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Compiler for official Firebird 3 release on Windows

2015-12-10 Thread preeves
On Thu, 10 Dec 2015 17:10:06 +0100
Dimitry Sibiryakov  wrote:

> 10.12.2015 17:05, preeves wrote:
> > But perhaps we should consider using a later version of MSVC.
> >
> > If we are going to change we should do it before final release of
> > 3.0
> >
> > Thoughts?
> 
>If I were you, I would at least install SP for my VS.
> 

Why?

Is there anything in the Service Pack that is relevant to the
compiler or the debugger? 


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird


--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Compiler for official Firebird 3 release on Windows

2015-12-10 Thread preeves
On Thu, 10 Dec 2015 16:46:31 +0100
paul  (by way of preeves )
wrote:

> On Thu, 10 Dec 2015 16:35:47 +0100
> Dimitry Sibiryakov  wrote:
> 
> >Hello, All.
> > 
> >Is it still MSVC 2010? With or without SP1?
> > 
> 
> 
> Microsoft Visual Studio 2010
> Version 10.0.30319.1 RTMRel
> Microsoft .NET Framework
> Version 4.0.30319 RTMRel
> 
> Installed Version: Professional

But perhaps we should consider using a later version of MSVC. 

If we are going to change we should do it before final release of 3.0

Thoughts?


Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird

--
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel