more gmp & mpfr ...

kevin diggs diggskevin38@gmail.com
Fri Apr 15 04:46:00 GMT 2011


Hi,

On Thu, Apr 14, 2011 at 11:24 PM, Ian Lance Taylor <iant@google.com> wrote:
> kevin diggs <diggskevin38@gmail.com> writes:
>
>> For a 4.3.5 cross compiler, are the paths in the --with-gmp= (and
>> --with-mpfr=) relative to the --with-sysroot= path?
>
> No.  That would not make sense.  --with-gmp and --with-mpfr tell
> configure where to find the host system GMP and MPFR libraries.
> --with-sysroot tells the compiler where to find the target header files
> and libraries.  Host libraries would not be found in a target directory.
>
> Ian
>

I happened to read in the wiki entry that Jonathan mentioned that GMP
and MPFR are used by the compiler as it runs. Unless referenced in the
code being compiled they do NOT become part of the generated code. So
I don't need target versions. Now I know.

kevin



More information about the Gcc-help mailing list