Skip site navigation (1) Skip section navigation (2)

linux, bsd, i386-solaris and univel shared libraries.

From: darrenk(at)insightdist(dot)com (Darren King)
To: pgsql-ports(at)postgresql(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: linux, bsd, i386-solaris and univel shared libraries.
Date: 1998-04-23 20:25:39
Message-ID: 9804232025.AA37064@ceodev (view raw or flat)
Thread:
Lists: pgsql-hackers
For the linux, bsd, i386-solaris and univel ports, ...

If I were to try to make foo$(DLSUFFIX) from bar.c and bah.c, I would
think the general sequence of events would be:

1. $(CC) $(CFLAGS_SL) -o bar.o bar.c
2. $(CC) $(CFLAGS_SL) -o bah.o bah.c
3. $(LD) $(LDFLAGS_SL) -r -o foo.o bar.o bah.o
4. $(LD) $(LDFLAGS_SL) -o foo$(DLSUFFIX) foo.o

Could someone for each port tell me what $(CFLAGS_SL) and $(LDFLAGS_SL)
are needed for each of these steps?

I have reworked the libpq Makefile to make a shared libpq for aix and
I'd like to move the libpq port-specific code to the port Makefiles
without breaking it.

Any help from others with shared library knowledge on these ports would
be greatly appreciated.

darrenk

Responses

pgsql-hackers by date

Next:From: Hannu KrosingDate: 1998-04-23 20:26:25
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous:From: David HartwigDate: 1998-04-23 19:29:55
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group