Page 1 of 1

Cross-compiler

Posted: Wed Sep 01, 2010 12:39 pm
by Hari
Hi folks,

Small correction to the gcc cross-compiler article. To make gcc-4.5.1 with gmp-5.0.1, one has to add the following extra switches to configure.

$../gcc-4.5.1/configure --with-gmp-include=$PWD/gmp --with-gmp-lib=$PWD/gmp/.libs

Thanks,
Hari

Re: Cross-compiler

Posted: Wed Sep 01, 2010 9:24 pm
by gerryg400
I didn't notice any difference. I just untarred gmp-5.0.1 into the gcc directory, renamed it to gmp and did a normal configure with target and prefix.

What do you think changed ?