Tcl Source Code

Check-in [8fa1d008ea]
Login
Bounty program for improvements to Tcl and certain Tcl packages.

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

Overview
Comment:Add compiler information (gcc|clang|msvc) information
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | build-info
Files: files | file ages | folders
SHA3-256: 8fa1d008eadf709ad88f09bf319aa955848853b03152dbac339d0f51d6d4c8b1
User & Date: jan.nijtmans 2020-06-30 16:36:27
Context
2020-06-30
16:36
Add compiler information (gcc|clang|msvc) information Leaf check-in: 8fa1d008ea user: jan.nijtmans tags: build-info
14:36
Add buildinfo functionality to makefile.vc too check-in: 9a1f8190e7 user: jan.nijtmans tags: build-info
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclBasic.c.

1187
1188
1189
1190
1191
1192
1193



1194
1195
1196



1197
1198
1199



1200
1201
1202
1203
1204
1205
1206
	    "+" STRINGIFY(TCL_VERSION_UUID)
#ifdef TCL_COMPILE_DEBUG
	    ".compiledebug"
#endif
#ifdef TCL_COMPILE_STATS
	    ".compilestats"
#endif



#ifndef NDEBUG
	    ".debug"
#endif



#ifdef TCL_MEM_DEBUG
	    ".memdebug"
#endif



#ifdef TCL_NO_DEPRECATED
	    ".nodeprecate"
#endif
#ifndef TCL_THREADS
	    ".nothread"
#endif
#ifndef TCL_CFG_OPTIMIZED







>
>
>



>
>
>



>
>
>







1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
	    "+" STRINGIFY(TCL_VERSION_UUID)
#ifdef TCL_COMPILE_DEBUG
	    ".compiledebug"
#endif
#ifdef TCL_COMPILE_STATS
	    ".compilestats"
#endif
#if defined(__clang__) && defined(__clang_major__)
	    ".clang" STRINGIFY(__clang_major__)
#endif
#ifndef NDEBUG
	    ".debug"
#endif
#if !defined(__clang__) && defined(__GNUC__)
	    ".gcc" STRINGIFY(__GNUC__)
#endif
#ifdef TCL_MEM_DEBUG
	    ".memdebug"
#endif
#if defined(_MSC_VER)
	    ".msvc" STRINGIFY(_MSC_VER)
#endif
#ifdef TCL_NO_DEPRECATED
	    ".nodeprecate"
#endif
#ifndef TCL_THREADS
	    ".nothread"
#endif
#ifndef TCL_CFG_OPTIMIZED

Changes to win/makefile.vc.

754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
	    /DTCL_USE_STATIC_PACKAGES=$(TCL_USE_STATIC_PACKAGES) \
	    -Fo$@ $?

$(TMP_DIR)\tclMainW.obj: $(GENERICDIR)\tclMain.c
	$(cc32) $(pkgcflags) /DUNICODE /D_UNICODE \
	    -Fo$@ $?

$(ROOT)\manifest.uuid:	$(WIN_DIR)\gitmanifest.in
   copy $(WIN_DIR)\gitmanifest.in $(ROOT)\manifest.uuid
   git rev-parse HEAD >>$(ROOT)\manifest.uuid

$(TMP_DIR)\tclUuid.h:	$(ROOT)\manifest.uuid $(WIN_DIR)\tclUuid.h.in
	copy $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h

$(TMP_DIR)\tclBasic.obj: $(GENERICDIR)\tclBasic.c $(TMP_DIR)\tclUuid.h
	$(cc32) $(pkgcflags) -I$(TMP_DIR) \
	    -Fo$@ $(GENERICDIR)\tclBasic.c

$(TMP_DIR)\tclTest.obj: $(GENERICDIR)\tclTest.c







|



|







754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
	    /DTCL_USE_STATIC_PACKAGES=$(TCL_USE_STATIC_PACKAGES) \
	    -Fo$@ $?

$(TMP_DIR)\tclMainW.obj: $(GENERICDIR)\tclMain.c
	$(cc32) $(pkgcflags) /DUNICODE /D_UNICODE \
	    -Fo$@ $?

$(ROOT)\manifest.uuid:
   copy $(WIN_DIR)\gitmanifest.in $(ROOT)\manifest.uuid
   git rev-parse HEAD >>$(ROOT)\manifest.uuid

$(TMP_DIR)\tclUuid.h:	$(ROOT)\manifest.uuid
	copy $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h

$(TMP_DIR)\tclBasic.obj: $(GENERICDIR)\tclBasic.c $(TMP_DIR)\tclUuid.h
	$(cc32) $(pkgcflags) -I$(TMP_DIR) \
	    -Fo$@ $(GENERICDIR)\tclBasic.c

$(TMP_DIR)\tclTest.obj: $(GENERICDIR)\tclTest.c