Check-in [0432734c0a]
Overview
Comment:Updated to statically link against libgcc when building a shared object (KitDLL)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:0432734c0a09dc52418651c55df2fd35676691c7
User & Date: rkeene on 2012-06-30 15:34:20
Other Links: manifest | tags
Context
2012-07-14
23:23
Updated to allow setting variables for individual sub-projects check-in: 9fce84fc29 user: rkeene tags: trunk
2012-06-30
15:34
Updated to statically link against libgcc when building a shared object (KitDLL) check-in: 0432734c0a user: rkeene tags: trunk
2012-05-14
16:57
Updated to no longer use fake "uname" to trick builds for Tcl 8.4.19 check-in: 2ba9012dfc user: rkeene tags: trunk
Changes

Modified kitsh/buildsrc/kitsh-0.0/configure.ac from [20795b4d45] to [651eab0d38].

    31     31   dnl Find the appropriate libraries to link to
    32     32   AC_SEARCH_LIBS(acos, m,, [ AC_MSG_WARN([Couldn't find acos (normally in libm)!]) ])
    33     33   AC_SEARCH_LIBS(dlsym, dl,, [ AC_MSG_WARN([Couldn't find dlsym (normally in libdl)!]) ])
    34     34   
    35     35   AS_IF([test "$TARGET" = "tclkit"], [
    36     36   	dnl We have Tclkit
    37     37   
    38         -	dnl Figure out how to statically link to libgcc, if needed
    39         -	DC_STATIC_LIBGCC
    40         -
    41     38   	dnl Specify local Appinit function
    42     39   	AC_DEFINE(TK_LOCAL_APPINIT, [TclKit_AppInit], [Tclkit appinit function])
    43     40   ], [
    44     41   	dnl We have KitDLL
    45     42   
    46     43   	dnl Determine system information
    47     44   	DC_CHK_OS_INFO
................................................................................
    51     48   
    52     49   	dnl Determine if we have "objcopy" available to weaken non-Tcl/Tk symbols
    53     50   	AC_CHECK_TOOL(OBJCOPY, objcopy, [:])
    54     51   
    55     52   	dnl Define KitDLL usage
    56     53   	AC_DEFINE([TCLKIT_DLL], [1], [Define if you are using a KitDLL rather than a Tclkit])
    57     54   ])
           55  +
           56  +dnl Figure out how to statically link to libgcc, if needed
           57  +DC_STATIC_LIBGCC
    58     58   
    59     59   dnl Set linker rpath for tclsh/wish
    60     60   DC_SETLDRUNPATH([.])
    61     61   
    62     62   dnl Find the appropriate Tcl headers and libraries
    63     63   DC_DO_TCL
    64     64