Re: kbs, one file to rule them all
Rene Zaumseil <[email protected]>
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
Hi, again the rene.tgz with the old structure. For a detailed usage just type "./kbs.tcl": Kitgen Build System kbs.tcl ?options? mode ?args? options: -builddir=?dir? default is "build$tcl_platform(os)", use with [Builddir] -resultdir=?dir? default is "result$tcl_platform(os)" -sourcedir=?dir? default is "sources" -norecursive do not recursive Require packages mode: help this text list ?pattern? list targets which can be built require ?pattern? return call trace of packages sources ?pattern? get package source files (under sources/) configure ?pattern? create [Makedir] (in [Builddir]) and configure package make ?pattern? make package (in [Makedir]) install ?pattern? install package (in [Builddir]) test ?pattern? test package clean ?pattern? remove make targets distclean ?pattern? remove makedir result ?pattern? put results in resultdir (in [Resultdir]) ?pattern? is used for glob style matching and defaults to * (match all) (Beware, you need to hide the special meaning of * like foo\*)i The following configuration variables can be used: _(64BIT) = --enable-64bit _(AQUA) = --enable-aqua _(CC) = gcc _(SHARED) = --enable-shared _(STATIC) = --disable-shared _(SYMBOLS) = --disable-symbols _(THREADS) = --enable-threads _(TZDATA) = --with-tzdata To build tclkit type: ./kbs.tcl result tclkit-8.5 or ./kbs.tcl result tclkit-8.4 The other targets perform the normal way of "configure, make, make test, make install". The "result" target put our files under ./result<uname>/ Changes: - added ".kbs.tcl require ?pattern?" to display requirements of packages - use first "./sources/tcl-8.5/" to build initial tclsh - use of TEA for tclkit (sources/tclkit-0.2) - option handling inserted - extensive use of TEA options, compile without tweaking under Linux Found errors: * vlerq + compile with "cc" under SunOS: - -D__sun__ not defined "/home2/rene/rene/sources/vlerq-4.1/generic/vlerq.c", line 38: warning: typedef redeclared: uint8_t "/home2/rene/rene/sources/vlerq-4.1/generic/vlerq.c", line 42: warning: macro redefined: _BIG_ENDIAN "/home2/rene/rene/sources/vlerq-4.1/generic/vlerq.c", line 396: warning: integer overflow detected: op "<<" "/home2/rene/rene/sources/vlerq-4.1/generic/vlerq.c", line 4688: warning: no explicit type given for parameter: rows - vlerq4.1/Makefile.in, line 383, remove "\" at end of line * vfs - "make clean && make" failed in vfs, pkgIndex.tcl will be removed and not created Questions: - What about the different "strip" commands. Are they needed/usefull? Todo: - try SunOS build (wednesday next week) rene --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "starkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/starkit?hl=en -~----------~----~----~----~------~----~------~--~---
rene.tgz
(application/x-tgz, 174.3 KB) - not displayed