[ expat-Patches-538032 ] Borland Win32 project & makefiles

noreply@sourceforge.net noreply@sourceforge.net
Thu Jul 11 09:32:05 2002


Patches item #538032, was opened at 2002-04-01 16:07
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=310127&aid=538032&group_id=10127

Category: Build Control
Group: Feature Request
>Status: Open
Resolution: Out of Date
Priority: 5
Submitted By: Patrick McConnell (pmcconnell)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Borland Win32 project & makefiles

Initial Comment:
Borland C++ Builder project file and make file for the 
command line compiler to build expat.dll

Unzip the patch from the directory above expat, then 
read the README.borland file for instructions.

----------------------------------------------------------------------

>Comment By: Patrick McConnell (pmcconnell)
Date: 2002-07-11 12:31

Message:
Logged In: YES 
user_id=415653

Fred,

The directory structure I used for the project files is copied 
from easysoap and xerces-c. It is more than expat needs 
at this point but if you start getting more and more ports to 
other OS's and build tools it becomes necessary. For 
example, your VC files could go into expat/proj/win32/VC6. 
However, if you like, I can put everything into a directory 
called BCB5 right under the expat root.

cleanall removes the executables, obj files and the build 
directories. Instead of renaming it, I'll just create another 
target called clean that only removes the obj files. I think 
this is more standard. OK?

About the directory structure: I was assuming the cvs is 
the same as the release structure. My build files are now 
set up to put the binaries in "release" directories under the 
various source directories (lib, examples, xmlwf and 
gennmtab). Are you saying the installed directory structure 
has all the source directories under src (or Source)? Also, 
for the release, should all the binaries go into expat/win32? 
I can do this no problem, just let me know.

I got the setup Im using now by translating the VC project 
files into BCB format, so I figured it would be right, but I 
never thought the installed structure would be different 
from the cvs.

Patrick

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-07-10 23:02

Message:
Logged In: YES 
user_id=3066

After a quick review:

I'd like to rename the "cleanall" target to simply "clean",
as this is a more common name for this function.

There appear to be many intermediate directories between the
top of the tree and the BCB5 directory; can this be reduced?
 I'm also not sure if the expected structure is that
resulting from the installed version of the sources or just
the CVS checkout; it's largely the same, but slightly
different at the top (probably not in any relevant way).  It
appears slightly tedious to make this work easily in both
tree structures, since the win32/ directory is not part of
the Source/ directory of the installed Expat package.

I still haven't had time to re-install my Windows
environment, so I can't yet install Borland's free
command-line compiler, so I'll need your guidance.  ;-(

We are getting ready to release Expat 1.95.4 this coming Friday.

Marking this report "pending", awaiting your response.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-07-10 21:29

Message:
Logged In: YES 
user_id=3066

Re-opened and assigned to myself.

----------------------------------------------------------------------

Comment By: Patrick McConnell (pmcconnell)
Date: 2002-07-10 19:00

Message:
Logged In: YES 
user_id=415653

Ahh, I didnt clue in that you wanted me to do something 
previously. I have been keeping my proj and makefiles up 
to date and have attached the latest. They should go into 
expat/proj/win32/BCB5 (I did this instead of spreading 
them around the directory tree to reduce clutter).

You can test it with the free Borland command line 
compiler, the make files work with that. 
http://www.borland.com/products/downloads/download_cb
uilder.html

If you are getting close to a release and want to include this 
I'll check it out on a daily basis. Im using the cvs files.

Patrick

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-07-09 16:31

Message:
Logged In: YES 
user_id=3066

Closing due to non-responsiveness of the reporter and
generally not being able to bring this up to date.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-31 18:39

Message:
Logged In: YES 
user_id=3066

Well, I won't be able to install the C++ Builder demo on my Win2K 
system since I don't have enough space on my system disk.  ;-(

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-31 00:04

Message:
Logged In: YES 
user_id=3066

Does this need to be updated to reflect the header name change from 
"config.h" to "expat_config.h"?

I don't think I'll have time to look at 
this before 1.95.3; is this just a few additional files or do other files need 
changing?  I'll try to install the recent C++ Builder demo to try this out.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=310127&aid=538032&group_id=10127