| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
This change allows to build the cygwin
and mingw32 ports of Tcl/Tk to build
out-of-the-box using a native or cross-
compiler
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
link.exe included with MSVC, use -debug instead
|
|
|
|
|
| |
* win/configure: (autoconf-2.13)
* win/tclWin32Dll.c: [Patch 3059922]: fixes for mingw64 - gcc4.5.1
Merged --cherrypick from Tcl8.5 (2011-01-17, 6e410a115b)
|
|
|
|
|
|
|
|
| |
number of
deprecation warnings on later VC++ versions.
Better VCVERSION determination.
All changes backported from Tcl8.5/8.6
|
|
|
|
| |
Needed by Tk for manifest generation.
|
| |
|
|
|
|
|
|
| |
* win/configure: --enable-64bit now accepts =amd64|ia64 for
* win/Makefile.in: Windows 64-bit build variants (default: amd64)
* win/makefile.vc: [Bug 1369597]
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
Split confused search for tclsh on PATH and
build and install locations into two macros.
SC_PROG_TCLSH searches just the PATH.
SC_BUILD_TCLSH determines the name of the tclsh
executable in the Tcl build directory.
[Tcl bug 1160114]
[Tcl patch 1244153]
|
|
|
|
| |
allow msys alone as an alternative.
|
|
|
|
|
|
| |
-Gs (included in -O2) and -GD (outdated). Use "link -lib" instead
of "lib" binary and remove -YX for MSVC7 portability. Add
-fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Set stub lib flag based
on new LIBFLAGSUFFIX variable.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Set new
LIBFLAGSUFFIX that works like LIBSUFFIX,
it is used when creating library names.
The previous implementation would generate
-ltclstub85 instead of -ltclstub85s when
configured with --disable-shared.
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX
so that TCL_SHLIB_SUFFIX will be set to a useful
value in the generated tclConfig.sh.
Set SHLIB_LD_LIBS to "" or '${LIBS}' based on
the --enable-shared flag. This matches the
UNIX implementation.
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Pull in
addition of shell32.lib to LIBS_GUI that
was added to the Tk tcl.m4 but never made
it back into the Tcl version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SHORT, and LONG when HAVE_WINNT_IGNORE_VOID
is defined. This avoids a bunch of compiler
warnings when building with Cygwin or Mingw.
* win/configure: Regen.
* win/configure.in: Define HAVE_WINNT_IGNORE_VOID
when we detect a winnt.h that still defines
CHAR, SHORT, and LONG when VOID has already
been defined.
* win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst the
TCL_DEFS loaded from tclConfig.sh so that
Tcl defines can make it into the Tk Makefile.
|
|
|
|
|
|
|
| |
* win/configure: regen
* win/configure.in: removed SC_ENABLE_MEMDEBUG call
* win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch #624010] (howell)
|
|
|
|
|
| |
* win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by
default in cygwin configure on Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added basic Cygwin support.
* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
(SC_PATH_TKCONFIG): Likewise.
(SC_PROG_TCLSH): Likewise.
(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
flags. Add -mwin32 to extra_cflags and extra_ldflags.
Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
* win/configure.in: Allow Cygwin build.
(SEH test): Define to be 1 instead of empty value.
(EXCEPTION_DISPOSITION): Add test.
* win/configure: Regenerate.
* generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let
the user decide whether to use Windows or POSIX personality.
(TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define
for Cygwin.
* generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for
Cygwin.
* generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX
to native format.
(TclDoGlob): Likewise.
* generic/tclPlatDecls.h (TCHAR): Define for Cygwin.
* win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree,
TclpSysRealloc): Define for Cygwin.
|
|
|
|
|
|
|
|
|
|
| |
* unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@.
* win/configure.in:
* unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG.
* win/tcl.m4:
* unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of
configure to (de)activate memory validation and debugging
(TCL_MEM_DEBUG). No need to modify the makefile anymore.
|
|
|
|
|
|
| |
--enable-symbols to allow Dr. Watson users to see function info.
More info on debugging levels can be obtained at:
http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC,
TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the
values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC,
and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded
from the build directory. A Tcl extension should
make use of the non-build versions of these variables
since they will work in both cases. This modification
was described in TIP 34.
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX
into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG
variables so that an extension does not need
to subst TCL_DBGX into its makefile. [Tk Bug 504356]
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Add comctl32.lib
to wish link libs. This change was originally added
to Tk on 2001-11-09 but was not committed to Tcl.
|
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure:
* win/configure.in:
* win/tcl.m4: reworked to be a little cleaner in comparison to
each other, and to AC_SUBST even empty vars for win/tclConfig.sh
|
| |
|
|
|
|
|
| |
a VC5 (pre sp3) compatible import library.
[Bug: 219257]
|
|
|
|
|
|
|
|
| |
* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
This is necessary for TEA compliant builds that build shared
against a static-built Tcl.
* win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build
target, otherwise it wouldn't get generated in a static build.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/configure.in: Use STLIB_LD when defining MAKE_LIB
and MAKE_STUB_LIB. Subst RANLIB and AR.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about
STLIB_LD command. Check ${AR} env var when setting
STLIB_LD and delay evaluation until make time.
* win/configure: Regen.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of
${AR} in STLIB_LD and add flags to better match the
Unix implementation. Don't bother defining AR when
using VC++ since it is not used.
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in
addition to the -mwindows flag to work around a problem
with ld when it incorrectly use main() as the executable
entry point when both WinMain() and main() are available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of relying on a variable. This will make Cygwin
build faster since an extra exec will be avoided.
* win/configure: Regen.
* win/configure.in: Subst DEPARG.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING
after the AC_CHECK_PROG so that status messages do
not get mixed together. Set DEPARG based on the
results of the cygpath check so that we avoid using
an extra exec when it is not needed. Use ac_cv_cygwin
status flag instead of looking at the output of
gcc -v, which works in the case where -mno-cygwin is
set in the CFLAGS.
|
|
|
|
|
|
|
|
|
|
| |
* win/configure: Regen.
* win/configure.in: Don't subst PATHTYPE.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE
variable. Set CYGPATH to "cygpath -w" if the
cygpath executable is found on the path. This
approach works for native Cygwin builds and
cross compiles.
|
|
|
|
| |
to ${AR} when using gcc, verbose output is not needed.
|
|
|
|
|
|
|
|
| |
works for both Cygwin builds and cross builds, the VPSEP
variable is simply unneeded complexity.
* win/configure: Regen.
* win/configure.in: Don't subst VPSEP.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
|
|
|
|
|
|
| |
* win/configure.in: Use RC_DEFINE flag from tcl.m4.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE
flag based on the compiler in use.
|
|
|
|
| |
imm32 library when building with mingw gcc.
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): When building with
gcc, don't attempt to link with LD or support dllwrap.
Simply require a recent version of Cygwin gcc or Mingw
gcc that supports -shared. When linking, use gcc instead
of ld since gcc automatically includes libs like -lmsvcrt.
|
|
|
|
| |
* win/tcl.m4: Fix silly typo in last checkin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works.
This will support user set CFLAGS or LDFLAGS at configure time.
* unix/configure: Regen.
* unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEFAULT,
LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
* unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
it uses a Makefile variable just like CFLAGS_DEFAULT.
* win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
This will support user set CFLAGS or LDFLAGS at configure time.
* win/configure: Regen.
* win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
* win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
it uses a Makefile variable just like CFLAGS_DEFAULT.
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG
to -g or LDFLAGS_OPTIMIZE to -O when compiling with gcc.
These flags are not needed and can cause problems with
the Cygwin version of ld.
|
|
|
|
|
|
| |
Remove use of undefined TCLCONFIG variable and
call AC_MSG_RESULT to print the checking result.
* win/tcl.m4: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile instead of directly substing @LDFLAGS@.
* unix/configure: Regen.
* unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name
of a Makefile variable is passed as @CFLAGS@.win/tcl.m4
* win/Makefile.in: Move the setting of CFLAGS
higher up in the Makefile.
* win/configure: Regen.
* win/configure.in: Use dnl to comment out macros
so that they are not accidently expanded.
* win/tcl.m4: Fix CFLAGS_DEFAULT so that the name
of a Makefile variable is passed as @CFLAGS@.
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
* unix/tclConfig.sh.in: Add TCL_THREADS variable.
* win/configure: Regen.
* win/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
* win/tclConfig.sh.in: Add TCL_THREADS variable.
|
|
|
|
| |
* win/tcl.m4 (SHLIB_LD): added -incremental:no. [Bug #219381]
|