Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Build an execution program not depending on the runtime libraries #254

Open
liqg opened this issue Feb 16, 2022 · 1 comment
Open

Build an execution program not depending on the runtime libraries #254

liqg opened this issue Feb 16, 2022 · 1 comment

Comments

@liqg
Copy link

liqg commented Feb 16, 2022

Could I use seqc build to build an execution program not depending on the runtime libraries, such as libomp.so libseqrt.so and libseq.so?

@liqg
Copy link
Author

liqg commented Feb 18, 2022

I found an alternative method that create an appimage file using linuxdeploy and appimagetool like this:

seqc build --exe a.seq # compile a.seq

./linuxdeploy-x86_64.AppImage --appdir=appdir -e a --library ./libomp.so --library ./libseqrt.so --library ./libseq.so  --create-desktop-file -i a.png
./appimagetool-x86_64.AppImage appdir/

a.seq just a simple seq code

print 'act'

a.png is an icon file.

This will generate an appimage file, a-x86_64.AppImage, and get the right result by running it.

./a-x86_64.AppImage

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

No branches or pull requests

1 participant