doubt in Static Builds

Pramod P K
Wed Nov 16 09:59:00 GMT 2005

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 (or

When i put it in arm-softfloat.dat,  it gives error.

I did search for its place in other files also, like,
that comes before

I hv also tried with "--disable-shared" in, arm-softfloat.dat

Where exactly these options need to be placed?

With thanx n regards,

 PRAMOD P. K., <>

 CDMA: 91- 9242195490.

More information about the Gcc-help mailing list