What happens in static build is that some libs are linked against the executable file itself (./minimo ), and some other ones *need* (shared object) to be dynamically linked. I got already a static build.
regards On 6/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, i'm building minimo on scratchbox. This is my mozconfig file: > > mk_add_options MOZ_CO_TAG=MOZILLA_1_8_BRANCH > > mk_add_options MOZ_CO_PROJECT=minimo > ac_add_options --enable-application=minimo > CROSS_COMPILE=1 > > > # use GTK+-2 widget set with XFT font rendering > ac_add_options --enable-default-toolkit=gtk2 > ac_add_options --enable-xft > ac_add_options --disable-freetype2 > > #ac_add_options --enable-optimize=-Os > ac_add_options --enable-strip > ac_add_options --disable-debug > ac_add_options --enable-reorder > ac_add_options --enable-elf-dynstr-gc > > # enable static build > ac_add_options --enable-static --disable-shared > > # enable minimal profile support > ac_add_options --disable-profilesharing > ac_add_options --disable-profilelocking > ac_add_options --enable-single-profile > > #Optional to reduce size and compile time > ac_add_options --disable-plugins > ac_add_options --disable-accessibility > ac_add_options --disable-composer > ac_add_options --enable-plaintext-editor-only > ac_add_options --disable-mailnews > ac_add_options --disable-ldap > ac_add_options --disable-postscript > ac_add_options --disable-mathml > ac_add_options --disable-jsd > ac_add_options --disable-jsloader > ac_add_options --disable-installer > ac_add_options --disable-xpinstall > ac_add_options --disable-xpfe-components > ac_add_options --disable-xprint > ac_add_options --disable-necko-disk-cache > > ac_add_options --disable-crypto > ac_add_options -disable-xul > > # disable debug logging and tests > ac_add_options --disable-dtd-debug > ac_add_options --disable-logging > ac_add_options --disable-tests > > # remove link dependency on libstdc++.so > LIBS=-lsupc++ > CXX=arm-linux-gcc > > > I thought that it would produce a statically linked minmo, but when > check the file minimo/base/minmo i see that it's dynamically linked. > (minimo: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/ > Linux 2.4.17, dynamically linked (uses shared libs), stripped) > > So how can i make it build a static file? And also if someone has a > mozconfig-file that is known to work with arm linux, if i could have > that it would be great! > > _______________________________________________ > dev-embedding mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-embedding > -- --Antonio Gomes _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
