linux, bsd, i386-solaris and univel shared libraries. - Mailing list pgsql-hackers

From darrenk@insightdist.com (Darren King)
Subject linux, bsd, i386-solaris and univel shared libraries.
Date
Msg-id 9804232025.AA37064@ceodev
Whole thread Raw
Responses Re: [HACKERS] linux, bsd, i386-solaris and univel shared libraries.
List 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

pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size