libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.4.3-6-gcdf127c


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.3-6-gcdf127c
Date: Wed, 29 Oct 2014 18:56:03 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  cdf127ca58af8c4d052249a39bbb8a921360211a (commit)
      from  a228b427608481768e9d5fab58751d1b4c4c2e92 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cdf127ca58af8c4d052249a39bbb8a921360211a
Author: Reuben Thomas <address@hidden>
Date:   Wed Oct 29 18:50:01 2014 +0000

    libtool: preliminary support for tcc on linux*.
    
    * m4/libtool.m4 (_LT_LINKER_SHLIBS) <linux*>: Set archive_cmds and
    ld_shlibs appropriately when using tcc.
    * NEWS: Update.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 NEWS          |    8 ++++++++
 m4/libtool.m4 |   10 ++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 635aef4..a53526f 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,14 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
   - Installation of 'libtoolize' once again obeys '--program-prefix',
     '--program-suffix' and '--program-transform-name' configure options.
 
+** Changes in supported systems or compilers:
+
+  - Preliminary support for tcc on linux*.  Although it already worked
+    sometimes in previous releases, making sure to set LD correctly now
+    avoids mis-matching GNU ld with tcc:
+
+       ./configure CC=tcc LD=tcc
+
 
 * Noteworthy changes in release 2.4.3 (2014-10-27) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 068f0d8..b3c0617 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -5515,6 +5515,16 @@ _LT_EOF
       _LT_TAGVAR(link_all_deplibs, $1)=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       _LT_TAGVAR(ld_shlibs, $1)=yes
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs 
$deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs 
$linker_flags'  # a.out


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]