Re: [Firebird-devel] Firebird.pas is missing

2017-08-30 Thread Alex via Firebird-devel

Paul - FYI, part of fb4 posix build log:

cat /buildroot/src/misc/pascal/fb_get_master_interface.pas 
>/buildroot/temp/Debug/func.pas


awk -f /buildroot/src/misc/pascal/Pascal.Constants.awk 
>/buildroot/temp/Debug/func.pas


grep '[[:space:]]isc_' /buildroot/lang_helpers/gds_codes.pas 
>>/buildroot/temp/Debug/func.pas


/buildroot/gen/Debug/cloop/release/bin/cloop 
/buildroot/src/include/firebird/FirebirdInterface.idl pascal 
/buildroot/src/include/gen/Firebird.pas Firebird --uses SysUtils \

--interfaceFile /buildroot/src/misc/pascal/Pascal.interface.pas \
--implementationFile 
/buildroot/src/misc/pascal/Pascal.implementation.pas \

--exceptionClass FbException \
--functionsFile /buildroot/temp/Debug/func.pas \
--prefix I



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird.pas is missing

2017-08-30 Thread Alex via Firebird-devel

On 30.08.2017 14:07, Paul Reeves wrote:

It looks as if a physical copy of Firebird.pas never got added to HEAD.


Adding it to FB3 was temporal solution - did not want to add more 
problems to windows build right before FB3 release (.pas file was added 
not long before final release).



So it is not included in the Alpha 1 windows kits. Unfortunately a few
parts of the windows packaging code from B3_0_Release are also missing
(my fault) so this didn't get picked up earlier.

What is actually needed to generate firebird.pas?


1. cloop. I'm not sure is it built or not currently in windows but it's 
definitely buildable w/o any problems.

2. gnu awk.
3. grep.


I looked at the code
in Makefile.in


Rules to build firebird.pas are at lines 107-119 in it. cloop needs very 
many switches to build for pascal - that's due to very strict 
requirements to the syntax from the language. Pay attention that all 
required constants (like dpb items, error codes, etc.) are also included 
here (using TMP_FUNCS file).



and makeInstallImage.sh.in


I believe it does nothing except including ready file into the package.


for the linux kits and
it is not at all obvious what is needed to add this to the windows
build process.


On my mind this place is far from being the most complex in posix build :-)
Though compared with c++ include file rule which is just 2 lines long - 
yes, not obvious.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Firebird.pas is missing

2017-08-30 Thread Paul Reeves

It looks as if a physical copy of Firebird.pas never got added to HEAD.
So it is not included in the Alpha 1 windows kits. Unfortunately a few
parts of the windows packaging code from B3_0_Release are also missing
(my fault) so this didn't get picked up earlier.

What is actually needed to generate firebird.pas? I looked at the code
in Makefile.in and makeInstallImage.sh.in for the linux kits and
it is not at all obvious what is needed to add this to the windows
build process. 


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

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel