On 03/25/2016 12:48 PM, preeves wrote:
> On Thu, 24 Mar 2016 12:35:25 +0300
> Alex Peshkoff <peshk...@mail.ru> 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.

Simple is by definition easier ;)
Unfortunately it does not mean better...

> 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.

Well, if nobody will provide strong arguments against this I will commit 
the generated file on Monday.


------------------------------------------------------------------------------
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

Reply via email to