Tcl Source Code

Check-in [5b4016f314]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:@dkf's review comments (Thanks!)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | bug-ef7042075c
Files: files | file ages | folders
SHA3-256: 5b4016f314039751f30912cbe4210e128c8e7e07b591b02e0fc77f1ee5f395d3
User & Date: jan.nijtmans 2025-06-26 08:48:02.373
Context
2025-06-26
13:38
Document what happens for non-documented field values Leaf check-in: 617a33d53c user: jan.nijtmans tags: bug-ef7042075c
08:48
@dkf's review comments (Thanks!) check-in: 5b4016f314 user: jan.nijtmans tags: bug-ef7042075c
07:35
[ef7042075c]: tcl::build-info not documented check-in: e6214ce124 user: jan.nijtmans tags: bug-ef7042075c
Changes
Unified Diff Ignore Whitespace Patch
Changes to doc/tclbuildinfo.n.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

47
48
49
50
51
52
53
'\"
'\" Copyright (c) 2025 Jan Nijtmans.
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
.TH build-info n 9.0 Tcl "Tcl Built-In Commands"
.so man.macros
.BS
'\" Note:  do not modify the .SH NAME line immediately below!
.SH NAME
tcl::build-info \- Build info
.SH SYNOPSIS
\fB::tcl::build-info\fR?
\fB::tcl::build-info clang\fR?
\fB::tcl::build-info commit\fR?
\fB::tcl::build-info compiledebug\fR?
\fB::tcl::build-info compiler\fR?
\fB::tcl::build-info compilestats\fR?
\fB::tcl::build-info cplusplus\fR?
\fB::tcl::build-info debug\fR?
\fB::tcl::build-info gcc\fR?
\fB::tcl::build-info icc\fR?
\fB::tcl::build-info ipl32\fR?
\fB::tcl::build-info memdebug\fR?
\fB::tcl::build-info msvc\fR?
\fB::tcl::build-info nmake\fR?
\fB::tcl::build-info no-deprecate\fR?
\fB::tcl::build-info no-thread\fR?
\fB::tcl::build-info no-optimize\fR?
\fB::tcl::build-info objective-c\fR?
\fB::tcl::build-info objective-cplusplus\fR?
\fB::tcl::build-info patchlevel\fR?
\fB::tcl::build-info profile\fR?
\fB::tcl::build-info purify\fR?
\fB::tcl::build-info static\fR?
\fB::tcl::build-info tommath\fR?
\fB::tcl::build-info version\fR?
\fB::tcl::build-info zlib\fR?
.BE
.SH DESCRIPTION
.PP
This command provides a way to retrieve information about how Tcl was built.
Without any options, the command returns the Tcl patchlevel, followed
by the '+'-sign, followed by the fossil commit-id followed by a list of
dot-separated tags. The \fIoptions\fR for official Tcl releases are:

.\" METHOD: clang
.TP
\fB::tcl::build-info clang\fR
.
Returns the clang version number (as 4 digits) if Tcl is compiled with clang, 0 otherwise.
.\" METHOD: commit
.TP













<
<
<
<
<
<
<
<
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<






|
>







1
2
3
4
5
6
7
8
9
10
11
12
13








14

















15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
'\"
'\" Copyright (c) 2025 Jan Nijtmans.
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
.TH build-info n 9.0 Tcl "Tcl Built-In Commands"
.so man.macros
.BS
'\" Note:  do not modify the .SH NAME line immediately below!
.SH NAME
tcl::build-info \- Build info
.SH SYNOPSIS








\fB::tcl::build-info\fR ?\fIfield\fR?

















.BE
.SH DESCRIPTION
.PP
This command provides a way to retrieve information about how Tcl was built.
Without any options, the command returns the Tcl patchlevel, followed
by the '+'-sign, followed by the fossil commit-id followed by a list of
dot-separated tags. If a \fIfield\fR is given, this command extracts that
field as described below. For official Tcl releases, the \fIfield\fRs are:
.\" METHOD: clang
.TP
\fB::tcl::build-info clang\fR
.
Returns the clang version number (as 4 digits) if Tcl is compiled with clang, 0 otherwise.
.\" METHOD: commit
.TP