Library support in gcc

Ian Lance Taylor iant@google.com
Mon Jun 8 11:19:00 GMT 2009


sumanth <sumanth.gundapneni@redpinesignals.com> writes:

> I am building a cross-compiler for a 32-bit processor.
> Gcc version is gcc-4.3.4.
> There is no support for DImode(or larger) and DFmode(or larger)
> Are the libraries from libgcc2.c(gcc/libgcc2.c) and fp-bit.c in
> gcc/config/ directory are sufficient for my compiler.

Yes.

> How can I avoid building DI/DF mode libraries and where should I specify it.

If you want to support the "long long" and "double" types at their usual
sizes, you need to build the libraries.  There are many existing targets
in this situation--look at the t-* files.  That is the path you should
take unless you have overwhelming reasons to avoid it.

Ian



More information about the Gcc-help mailing list