compiling with static links

Choe, Jiwon jiwon_choe at brown.edu
Thu Mar 26 23:22:07 UTC 2020


Hi,

I was wondering if it would be possible to compile/build so that the
generated j2sdk-image/bin executables are statically linked.
I run configure with the flag '--with-stdc++lib=static', but the executable
that I get seems to be dynamically linked.

$ file j2sdk-image/bin/java
j2sdk-image/bin/java: ELF 32-bit LSB  executable, ARM, EABI5 version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, .....

Has anyone tried building statically-linked executables from the source?

Thanks,
Jiwon


More information about the aarch32-port-dev mailing list