RE: building with MSVC
Date: Tue, 24 Feb 2004 16:39:04 -0800
On Mon, 23 Feb 2004, David Byron wrote:
> My bad. After a clean and rebuild, the unresolved externs
> disappeared. I've also been tweaking my SSL compiler flags
> (changing /MD to /MT) which is no doubt causing me grief.
> It's causing me enough grief that I still can't get things
> to link even after I change them back. I'll try again
I figured out the problem. It was mostly pilot error, but I noticed
a couple of things about src/Makefile.vc6 that I don't think work properly.
Basically, does anyone care about building debug or release in
The Makefile.vc6 that's checked in right now links in LINK_OBJS for both
debug and release. And, there's no explicit rule for building those
objects, so they get compiled without the special flags that are defined in
CCR and CCD.
I see two choices:
1. Continue with both debug and release. This implies to me removing all
trace of LINK_OBJS -- replacing it with RELEASE_OBJS on the link line of the
release recipe and DEBUG_OBJS on the link line of the debug recipe.
2. Just have one build -- the release build. This implies to me removing
all trace of DEBUG_OBJS and RELEASE_OBJS and making a choice between CCR and
CCD, LINKR and LINKD.
I'm leaning towards #2. Does anyone care? Does anyone use the debug build?
I'll send a proper patch for Makefile.vc6 and the rest of my changes once I
either get a response from the list or give up waiting and decide on my own.
Thanks much for your feedback.
Received on 2004-02-25