One easy change we did to make the Windows build system better was to avoid the 
copies.
And it is totally portable to UNIX or other platforms as well.

For example instead of doing the following in the build
cp  JudyCommon/JudyFirst.c Judy1/Judy1First.c
AND
cp  JudyCommon/JudyFirst.c JudyL/JudyLFirst.c

We created a file
        Judy1/Judy1First.c
Which contained

        #define JUDY1
        #include "../JudyCommon/JudyFirst.c"

The file JudtL/JudyLFirst.c
would contain
        #define JUDYL
        #include "../JudyCommon/JudyFirst.c"

The first #define (JUDY1 and JUDYL) is actually optional, but makes it easier 
for people to understand the flow of things.

This definitely avoids duplicate code (which is what Felix seems to have) and 
strange copies of source code done by the build system

-- Geert


On 06 Feb 2011, at 11:38, john skaller wrote:


On 06/02/2011, at 9:20 PM, john skaller wrote:

> 
> On 06/02/2011, at 5:02 PM, Bisht, Pradeep wrote:
> 
>> once I'm done with current testing I will ship you the changes I made. Thank 
>> you for responding.
> 
> Ooops. Can you also fix the build system? At present we can't upgrade from 
> the SF repository.
> Our clone looks like this:
> 
> http://felix-lang.org:1116/$src/judy



Er .. unfortunately SVN is down at SF at the moment so I can't check
what the differences are.

--
john skaller
[email protected]





------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel


------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel

Reply via email to