about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-04-12 22:15:59 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-04-12 22:15:59 +0000
commitb1b5d6c737de1cd635e6996789d8c64fdbb5501d (patch)
tree6fce182555f34fec3124ea10d4ccd724d56413c2
parentd2fc5ad51b1cc493e62efe7ccaaf9ef083faeb1a (diff)
downloadnetpbm-mirror-b1b5d6c737de1cd635e6996789d8c64fdbb5501d.tar.gz
netpbm-mirror-b1b5d6c737de1cd635e6996789d8c64fdbb5501d.tar.xz
netpbm-mirror-b1b5d6c737de1cd635e6996789d8c64fdbb5501d.zip
More comments about rpath
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@615 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--Makefile.common51
1 files changed, 28 insertions, 23 deletions
diff --git a/Makefile.common b/Makefile.common
index 2cea716b..22c0eb12 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -263,36 +263,41 @@ endif
 #   
 #   Notice that SGI and Sun support two such flavors.
 #
-#   Plus, Scott Schwartz observed on March 25, 2003 that while his
-#   compiler understands -Wl, his linker does not understand -rpath.
-#   His compiler is "Sun WorkShop 6 update 2 C 5.3 2001/05/15".
+# Plus, Scott Schwartz observed on March 25, 2003 that while his
+# compiler understands -Wl, his linker does not understand -rpath.
+# His compiler is "Sun WorkShop 6 update 2 C 5.3 2001/05/15".
 #
-#   Plus, Mike Saunders found in December 2003 that his Solaris 8 system
-#   (uname -a says 'SunOS cannonball.method.cx 5.8 Generic_108528-14 
-#   sun4u sparc SUNW,Ultra-1') with Gcc 2.95.3 requires the syntax
+# Plus, Mike Saunders found in December 2003 that his Solaris 8 system
+# (uname -a says 'SunOS cannonball.method.cx 5.8 Generic_108528-14 
+# sun4u sparc SUNW,Ultra-1') with Gcc 2.95.3 requires the syntax
 #
-#         -Wl,-R,/path/to/dir
-#   
-#   This is apparently because Gcc invokes this linker for Saunders:
+#       -Wl,-R,/path/to/dir
+# 
+# This is apparently because Gcc invokes this linker for Saunders:
+#
+#    ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.273
+#
+# I'd say there are also Solaris systems where Gcc invokes the GNU linker
+# and then the option would be -Wl,-rpath...
 #
-#      ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.273
+# The Sun Ld fails in a weird way when you pass it -rpath instead of -R:
 #
-#   I'd say there are also Solaris systems where Gcc invokes the GNU linker
-#   and then the option would be -Wl,-rpath...
+#   ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.382
+#   ld: fatal: option -dn and -P are incompatible
 #
-#   On IA32 Linux, at least, GNU ld takes -rpath.  It also has a -R option,
-#   but it is something else.
+# On IA32 Linux, at least, GNU ld takes -rpath.  It also has a -R option,
+# but it is something else.
 #
-#   Alan Fry and Snowcrash demonstrated in 2006.11 that neither -rpath
-#   nor -R are recognized options on Mac OS X 'ld'.
+# Alan Fry and Snowcrash demonstrated in 2006.11 that neither -rpath
+# nor -R are recognized options on Mac OS X 'ld'.
 #
-#   http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/index.html
-#   says that on Mac OS X, libraries aren't searched for in directories,
-#   but rather specified by full name, so that rpath doesn't make any
-#   sense.  On Mac OS X, you use -install_name when you linkedit shared
-#   library S to give the complete installed name of S.  This goes into
-#   S so that when something linkedits with S, the complete installed
-#   name of S goes into the object that uses S.
+# http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/index.html
+# says that on Mac OS X, libraries aren't searched for in directories,
+# but rather specified by full name, so that rpath doesn't make any
+# sense.  On Mac OS X, you use -install_name when you linkedit shared
+# library S to give the complete installed name of S.  This goes into
+# S so that when something linkedits with S, the complete installed
+# name of S goes into the object that uses S.
 
 ifeq ($(NEED_RUNTIME_PATH),Y)
   ifneq ($(NETPBMLIB_RUNTIME_PATH)x,x)