[Expat-discuss] Borland makefile for 1.95.1

Greg Stein gstein@lyra.org
Fri, 27 Apr 2001 14:23:19 -0700


Please submit this as a patch so that we can track it properly and get it
integrated into the next release.

thx,
-g

On Fri, Apr 27, 2001 at 03:49:41PM -0500, Bob Jamison wrote:
> Hi, guys,
> 
> I don't know if this thing would be useful to anyone,
> but recently I needed to make a static linking library
> for Win32.  I couldn't find out how to add another
> target to a VC++ project, so I used Borland.
> 
> So if anyone could use it, here it a Makefile for Borland
> C++ 5 (or 5.5), command-line style.  It makes the DLL,
> import lib, and static lib fairly cleanly. 
> 
> By the way, the Borland C++ command-line compiler has
> been a free download for the last few months. (which
> is a great deal, I think).
> 
> Another thought:  since several Win32 compilers are becoming
> either fairly cheap or free, it might help to use a common
> compiler switch for all of them.  Would it maybe be possible
> to use  '__WIN32__' instead of  'COMPILED_FROM_DSP'  ?
> This is pre-defined, and does not need to be set in either VC++ or
> Borland.  Just a suggestion.
> 
> Anyway, I hope this is of use to someone.  Thanks
> for maintaining this nice library.  I'll see what I can do for
> the CVS version soon.
> 
> 
> Bob
>...

-- 
Greg Stein, http://www.lyra.org/