summaryrefslogtreecommitdiffstats
path: root/conf-ld
diff options
context:
space:
mode:
Diffstat (limited to 'conf-ld')
-rw-r--r--conf-ld7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf-ld b/conf-ld
new file mode 100644
index 0000000..0935bfa
--- /dev/null
+++ b/conf-ld
@@ -0,0 +1,7 @@
+gcc -s
+
+This will be used to link .o files into an executable.
+
+use -shared -Wl,-soname, to generate dynamic library
+you may need to use -Wl,export-dynamic for reverse dependencies
+use -Wl,-rpath,PATH for library client program during developement