This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 7 of 9] scripts/wrapper.in: Add a comment about readlink not being portable


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1274092052 -7200
# Node ID 2294caf59a704064059a1a9c66c75b0708ac0409
# Parent  193c8b8e4b7adab64c33016293b809197084af12
scripts/wrapper.in: Add a comment about readlink not being portable.

Documented that the call to readlink will not work on BSD systems.

diff -r 193c8b8e4b7a -r 2294caf59a70 scripts/wrapper.in
--- a/scripts/wrapper.in	Mon May 17 12:23:24 2010 +0200
+++ b/scripts/wrapper.in	Mon May 17 12:27:32 2010 +0200
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+# this wrapper will not work under BSD systems or others
+# not containig the GNU readlink.
+# Under those, wrapper.c will forcibly be used
+# regardless of the config file setting.
+
 canonicalizedname=$(readlink -nm "${0}")
 dirname="$(dirname "${canonicalizedname}")"
 basename="$(basename "${canonicalizedname}")"

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]