Skip to Content.
Sympa Menu

freetds - Re: [freetds] [PATCH] make replacements more configurable

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] [PATCH] make replacements more configurable
  • Date: Wed, 29 Jan 2003 22:14:45 -0500

On Wed, 29 Jan 2003 18:39:29 -0600, "Craig A. Berry" <craigberry AT mac.com>
wrote:
> >Your compiler would produce a module with no function; the linker
> >would scoop it up but no name would be exported. That approach would
> >be slightly better, I assert, because
> >
> >1. the names are preserved
> >2. the preprocessor isn't interceding in linkage
> >3. the resulting binary is smaller
>
> This approach was actually my first thought before I went the redefining
>
> route. If it's cleaner to you, it works great for me and I include a
> patch to do that below. I've omitted the HAVE_AUTOCONF bit since if I
> understand correctly it will be redundant: systems that use autoconf to
> decide they don't need the functions will never bother to compile them
> and thus won't see that anyway; is that correct?

Craig, thanks for the patch. I'm going to hold it at least until I branch
0.61.

Nick, now that you've seen the long and long of this, I'd like to hear
what you think.

VMS and Win32 are probably the only non-autoconf environments we'll see,
and the Win32 libraries are unlikely ever to need anything from
replacements. Thus afaict this is a VMS-only issue.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page