From: | Michael Meskes <meskes(at)topsystem(dot)de> |
---|---|
To: | darrenk(at)insightdist(dot)com (Darren King) |
Cc: | pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker) |
Subject: | Re: [HACKERS] linux, bsd, i386-solaris and univel shared libraries. |
Date: | 1998-04-24 09:18:27 |
Message-ID: | 199804240918.LAA00624@gauss.topsystem.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Darren King writes:
>
> 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?
Linux:
CFLAGS_SL: -fpic
LDFLAGS_SL: -shared -soname foo$(DLSUFFIX_WITH_MAJOR_VERSION_NUMBER)
I hope I didn't miss anything.
Michael
--
Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH
meskes(at)topsystem(dot)de | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org | 52146 Wuerselen
Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10
From | Date | Subject | |
---|---|---|---|
Next Message | Zeugswetter Andreas SARZ | 1998-04-24 10:28:54 | Re: [HACKERS] linux, bsd, i386-solaris and univel shared librarie s. |
Previous Message | Julia A.Case | 1998-04-24 08:40:33 | Re: [INTERFACES] Access'97 and ODBC |