[ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

Harlan Stenn stenn at ntp.org
Fri Mar 7 03:33:56 UTC 2014


Rob Windgassen writes:
> When your kernel cross-compile was succesful you want to use the same 
> compiler.
> You can achieve that by setting CC on the line with configure like
> 
> CC=/home/david/kernel/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/
> arm-bcm2708hardfp-linux-gnueabi/bin/gcc \
> ../configure

Sorry to say this.

Unless you are Really Bored and are just hacking around, I think it's a
Really Bad Idea to follow these instructions.

If indeed this is a cross-compile, there are many cases where this
simply will not work.

I'm not going to spend the time to cover the reasons - they are
well-documented on several sites.

H


More information about the questions mailing list