[ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested
david-taylor at blueyonder.co.uk.invalid
Fri Mar 7 12:01:51 UTC 2014
On 06/03/2014 20:24, Rob Windgassen wrote:
> On Thu, 06 Mar 2014 16:20:27 +0000, David Taylor wrote:
>> How, in very simple terms, may I apply the same for cross-compiling NTP?
> When your kernel cross-compile was succesful you want to use the same
> You can achieve that by setting CC on the line with configure like
> arm-bcm2708hardfp-linux-gnueabi/bin/gcc \
Thanks for your continuing help.
Harlan, I wish it were as easy as setting the path, but doing an "ls" on
that directory shows that all the tools have the prefix in front of
their normal file name, for example:
I tried setting the CC variable as you suggested, and it does then show
the cross-compiler when the version is checked:
However, as above, I guess that still leaves all the other tools used in
the NTP build (such as CCLD) pointing at the wrong version of the
executables. I can then do a configure and make, but the executables
are still not the expected size (again, I guess, because the wrong tools
are being used).
Any further suggestions?
More information about the questions