Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile into an executable TDK program #10

Open
mujinjia opened this issue Sep 6, 2022 · 2 comments
Open

How to compile into an executable TDK program #10

mujinjia opened this issue Sep 6, 2022 · 2 comments

Comments

@mujinjia
Copy link

mujinjia commented Sep 6, 2022

Is there a build introduction? How to compile into an executable TDK program
I need to compile TCL to bytecode, I compiled lib/tclcompiler and got a .so file, then I compiled tcl to tbc file by lib/tclcompiler/tests/test_jump_rewrite.tcl, but after I loaded the tbc file with tbcload 1.7 I can't use the tcl functions written with
Can anyone show me how to compile a complete TDK program?

@cyangy
Copy link

cyangy commented Nov 16, 2022

I just take a few days to make it works, please refer to this link.
To compile a .exe program, you should use the tclapp, and try this link, if it works, you can use the tclkit as the ‘prefix’ of tclapp to build you own program, for more detail, read the tclapp document which located in tdk/docs/official-help-files/index.html

@bandoti
Copy link

bandoti commented May 17, 2024

I have created a pull request which will address these issues. Please see #11 for details. It links to my "fix-build" branch which you can simply configure/make and it will auto-generate starkits or starpacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants