seq icon indicating copy to clipboard operation
seq copied to clipboard

Build an execution program not depending on the runtime libraries

Open liqg opened this issue 3 years ago • 1 comments

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 avatar Feb 16 '22 10:02 liqg

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

liqg avatar Feb 18 '22 10:02 liqg