#12 The "-all-static" flag does not work
Closed 3 years ago by orbea. Opened 3 years ago by orbea.

Original issue: https://github.com/midipix-project/slibtool/issues/4
Opened by: https://github.com/doughdemon

doughdemon commented on Sep 25, 2016

$ slibtool --version slibtool (git://midipix.org/slibtool): version 0.5.10. $ echo "int main(void) { return 0; }" > prog.c $ slibtool --tag=CC --mode=link gcc -all-static -o prog prog.c slibtool: link: gcc prog.c -USLIBTOOL_PLACEHOLDER_DPIC -USLIBTOOL_PLACEHOLDER_FPIC -USLIBTOOL_PLACEHOLDER_COMPILE_ASSEMBLE -USLIBTOOL_PLACEHOLDER_NO_UNDEFINED -USLIBTOOL_PLACEHOLDER_SONAME -USLIBTOOL_PLACEHOLDER_LSONAME -USLIBTOOL_PLACEHOLDER_SYMDEF_SWITCH -USLIBTOOL_PLACEHOLDER_SYMDEF_FILE -o .libs/prog -USLIBTOOL_PLACEHOLDER_RPATH_SWITCH -USLIBTOOL_PLACEHOLDER_RPATH_DIR slibtool: link: ln -s prog prog.exe.wrapper $ file .libs/prog .libs/prog: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, not stripped

midipix commented on Sep 25, 2016

Thanks for the catch; I can reproduce the problem, and a fix should be easy. Stay tuned later tonight...

midipix commented on Sep 25, 2016

Thanks again for spotting this; fixed in commit e5d83d0.

doughdemon commented on Sep 25, 2016

Thanks for the quick fix!

midipix closed this on Sep 26, 2016

midipix commented on Sep 26, 2016

so apparently one can react with emojis! what an awesome centur


Metadata Update from @orbea:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata