This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I got crosstool-0.38. I built toolchain arm-softfloat-linux-gnu. By default arm-softfloat-linux-gnu-gcc gives "dynamically linked (uses shared libs)" ELF on # arm-softfloat-linux-gnu-gcc file.c I want, by default, "statically linked" In crosstool-howto.html it is said: Static Builds If for some reason you want the resulting toolchain binaries to be statically linked, set the following environment variables before running crosstool.sh (or all.sh): BINUTILS_EXTRA_CONFIG="LDFLAGS=-all-static" GCC_EXTRA_CONFIG="LDFLAGS=-static" When i put it in arm-softfloat.dat, it gives error. I did search for its place in other files also, like crosstool.sh, that comes before all.sh I hv also tried with "--disable-shared" in crosstool.sh, arm-softfloat.dat Where exactly these options need to be placed? With thanx n regards, Pramod -- ---------------------------------------------------------------- PRAMOD P. K., <pra.engr@gmail.com> CDMA: 91- 9242195490. ----------------------------------------------------------------
Attachment:
err1.txt
Description: Text document
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |