
# Configuration options.  All global variables in this script can
# be set to a default value. Check the comments to see the allowed
# values.

# user modifyable globals in .tclc_config

global env
global tclc_outputFile tclc_initFuncname
global tclc_linkTclX tclc_linkItcl tclc_linkExp tclc_linkDld
global tclc_linkTk tclc_linkBlt tclc_linkTkX tclc_linkTdp tclc_linkTns
global tclc_cc tclc_cflags tclc_ar tclc_arflags tclc_ldflags
global tclc_makeFlags tclc_headers tclc_libpath tclc_userlibs
global tclc_fileScript tclc_incSource tclc_writeByProc tclc_writeByFile
global tclc_noExit tclc_alwaysExit
global tclc_checkLists tclc_compCatch tclc_compUplevel
global tclc_verbose tclc_lineDirec

# setting the default library, loader, loader flags should be done
# in $TCL_ROOT/lib/Makefile.loadVars.  The variables are
# tclc_modCC tclc_modCFLAGS tclc_modLD tclc_modLDFLAGS 

# come up with the default options by executing the configuration file

# set <yes-no option> 0 or 1
#
# yes-no options are:
#
# tclc_linkTclX tclc_linkItcl tclc_linkExp tclc_linkDld
# tclc_linkTk tclc_linkBlt tclc_linkTkX tclc_linkTdp tclc_linkTns
# tclc_fileScript tclc_incSource tclc_writeByProc tclc_writeByFile
# tclc_noExit tclc_alwaysExit
# tclc_checkLists tclc_compCatch tclc_compUplevel
# tclc_verbose tclc_lineDirec
#

set tclc_verbose 1
set tclc_fileScript 1

# set <string option> <string value>
#
# string options are
# 
# tclc_cc tclc_cflags tclc_ar tclc_arflags tclc_ldflags
# tclc_headers tclc_libpath tclc_userlibs
# tclc_outputFile tclc_initFuncname tclc_makeFlags
#
# Target output set by extension of tclc_outputFile.
# extension   Result File
# ---------   -----------
#     c       tcl->c translation
#     o       compilation of above
#     a       put above into archive
#     so      put compilation into dynamically loadable module
#   <none>    standalone executable
#
# Note that tclc_libpath should be in the form:
#
# set tclc_libpath "-L<directory name 1> -L<directory name 2> ..."
#
# Note that tclc_headers should be in the form:
#
# set tclc_libpath "-I<directory name 1> -I<directory name 2> ..."

set tclc_cc         gcc
set tclc_cflags     "-fwritable-strings -g"
set tclc_headers    "-I .."
set tclc_libpath    "-L .."
set tclc_outputFile tcl_test
