Check-in [8b9755f077]
Overview
Comment:Updated to allow user to specify some compilation flags as a part of KitCreator build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8b9755f0770a33fa4294bd4bff5e9b4df37f2054
User & Date: rkeene on 2014-10-28 19:39:42
Other Links: manifest | tags
Context
2014-10-28
19:43
Replaced stringify with a simpler "sed" script check-in: 5989d7a323 user: rkeene tags: trunk
19:39
Updated to allow user to specify some compilation flags as a part of KitCreator build check-in: 8b9755f077 user: rkeene tags: trunk
2014-10-27
05:32
Renamed KitCreator build script to be more explicit about its purpose (requires newest KitCreator) check-in: 8b252fe5e4 user: rkeene tags: trunk
Changes

Modified kitcreator-build.sh from [f09c85c9f1] to [008b72b8bc].

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

# Compile using the same options as Tcl
TCLCONFIGSH="${KITCREATORROOT}/tcl/inst/lib/tclConfig.sh"

. "${TCLCONFIGSH}"

echo "${TCL_CC} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} -o tuapi.o -c tuapi.c"
eval ${TCL_CC} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} -o tuapi.o -c tuapi.c
ar rcu libtuapi.a tuapi.o
ranlib libtuapi.a

echo 'package ifneeded tuapi '"${tuapi_version}"' [list load {} tuapi]' > pkgIndex.tcl

mkdir -p inst/lib/tuapi-${tuapi_version}
mkdir -p out/lib/tuapi-${tuapi_version}
cp libtuapi.a inst/lib/tuapi-${tuapi_version}
cp pkgIndex.tcl out/lib/tuapi-${tuapi_version}







|









8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

# Compile using the same options as Tcl
TCLCONFIGSH="${KITCREATORROOT}/tcl/inst/lib/tclConfig.sh"

. "${TCLCONFIGSH}"

echo "${TCL_CC} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} -o tuapi.o -c tuapi.c"
eval ${TCL_CC} ${KC_TUAPI_CPPFLAGS} ${KC_TUAPI_CFLAGS} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} ${KC_TUAPI_LDFLAGS} -o tuapi.o -c tuapi.c
ar rcu libtuapi.a tuapi.o
ranlib libtuapi.a

echo 'package ifneeded tuapi '"${tuapi_version}"' [list load {} tuapi]' > pkgIndex.tcl

mkdir -p inst/lib/tuapi-${tuapi_version}
mkdir -p out/lib/tuapi-${tuapi_version}
cp libtuapi.a inst/lib/tuapi-${tuapi_version}
cp pkgIndex.tcl out/lib/tuapi-${tuapi_version}