linux, bsd, i386-solaris and univel shared libraries.
Darren King <darrenk@insightdist.com>
From: darrenk@insightdist.com (Darren King)
To: pgsql-ports@postgresql.org
Cc: pgsql-hackers@postgresql.org
Date: 1998-04-23T20:25:39Z
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