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: Brian Bruns <camber AT ais.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] [PATCH] make replacements more configurable
  • Date: Wed, 29 Jan 2003 22:28:56 -0500 (EST)

On Wed, 29 Jan 2003, James K. Lowden wrote:

> 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

Jim, there was a debate over on the postgres list about the "native" win32
port, and whether to use autoconf/make, libtool under cygwin as a build
environment. Plus side of doing so is you have a single build system,
even though the resulting binary has no reliance on cygwin, down side is
forcing people who want to develop (but not users) to have cygwin, but
isn't that a given anyway?

Anyway, thought it might be relevent to this subject.

Brian





Archive powered by MHonArc 2.6.24.

Top of Page