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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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