Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f7bfb551
Commit
f7bfb551
authored
May 07, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shared library and GCC support for SCO OpenServer.
parent
5fdae774
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
5 deletions
+36
-5
src/Makefile.shlib
src/Makefile.shlib
+19
-1
src/makefiles/Makefile.sco
src/makefiles/Makefile.sco
+11
-2
src/template/sco
src/template/sco
+6
-2
No files found.
src/Makefile.shlib
View file @
f7bfb551
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.5
0 2001/04/15 03:25:07 tgl
Exp $
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.5
1 2001/05/07 20:43:28 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -194,6 +194,24 @@ ifeq ($(PORTNAME), osf)
LINK.shared
=
$(LD)
-shared
-expect_unresolved
'*'
endif
ifeq
($(PORTNAME), sco)
shlib
:=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
.
$(SO_MINOR_VERSION)
ifndef
cplusplus
ifeq
($(GCC), yes)
LINK.shared
=
$(CC)
-shared
else
LINK.shared
=
$(CC)
-G
endif
else
ifeq
($(GXX), yes)
LINK.shared
=
$(CXX)
-shared
else
LINK.shared
=
$(CXX)
-G
endif
endif
LINK.shared
+=
-Wl
,-z,text
-Wl
,-h,
$(soname)
endif
ifeq
($(PORTNAME), svr4)
shlib
:=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
.
$(SO_MINOR_VERSION)
LINK.shared
=
$(LD)
-G
...
...
src/makefiles/Makefile.sco
View file @
f7bfb551
override
CFLAGS
+=
-dy
export_dynamic
=
-W
l,-Bexport
AROPT
=
cr
export_dynamic
=
-Wl
,-Bexport
shlib_symbolic
=
-Wl
,-Bsymbolic
DLSUFFIX
=
.so
ifeq
($(GCC), yes)
CFLAGS_SL
=
-fpic
else
CFLAGS_SL
=
-K
PIC
endif
ifeq
($(GXX), yes)
CXXFLAGS_SL
=
-fpic
else
CXXFLAGS_SL
=
-K
PIC
endif
%.so
:
%.o
$(LD)
-G
-Bdynamic
-o
$@
$<
src/template/sco
View file @
f7bfb551
CFLAGS=
CC="$CC -b elf"
if test "$GCC" = yes; then
CFLAGS=-02
else
CFLAGS=-O
CC="$CC -b elf"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment