Skip to contentSkip to conversation

tcl tk: tclConfig.sh/tkConfig.sh ${STAGING_BINDIR_CROSS} or ${STAGING_LIBDIR} ?

DISCUSSION Bernhard Guillon 2 participants 2 messages Feb 21, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,
I am currently try to build hv3 [1] - a super fast and small browser (dillo2 killer ?).
I need to provide the PATH to tclConfig.sh/tkConfig.sh which is currently ${STAGING_BINDIR_CROSS}. Is this the right PATH or should tcl tk place tclConfig.sh/tkConfig.sh to ${STAGING_LIBDIR} ?

Best regards
Bernhard Guillon

1http://tkhtml.tcl.tk/hv3.html

#1 lore raw
Quoted 5 lines · Bernhard Guillon

Hi all,
I am currently try to build hv3 [1] - a super fast and small browser (dillo2 killer ?).
I need to provide the PATH to tclConfig.sh/tkConfig.sh which is currently ${STAGING_BINDIR_CROSS}.



Quoted 2 lines

Is this the right PATH or should tcl
tk place tclConfig.sh/tkConfig.sh to ${STAGING_LIBDIR} ?

It depends on the purpose.

If you need tcl/tk for the build process, you need tcl/tk-native and {STAGING_BINDIR}. If you need to link with tcl/tk, then you need {STAGING_BINDIR_CROSS}.

Note: You should be aware, that user may set ASSUME_PROVIDED = "tcl-native tk-native" in local.conf. In this case, your program should be able to find tcl-native/tk-native in system-wide directories (it's the default behavior of most upstream packages).

If you need both, you have to do some tricks (set needed variable in bb file and patch package to use this variable).

________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus