On Thu, 06 Mar 2014 16:20:27 +0000, David Taylor wrote:
> I looked for gcc on my system and found: > > /home/david/kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf- raspbian/lib/gcc > /home/david/kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf- raspbian/share/doc/gcc-linaro-arm-linux-gnueabihf-raspbian/html/gcc > /home/david/kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf- raspbian/libexec/gcc > /home/david/kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf- raspbian/arm-linux-gnueabihf/bin/gcc > /home/david/kernel/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/lib/gcc > /home/david/kernel/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/arm- bcm2708-linux-gnueabi/bin/gcc > /home/david/kernel/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/libexec/ gcc > /home/david/kernel/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/ lib/gcc > /home/david/kernel/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/ libexec/gcc > /home/david/kernel/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/ arm-bcm2708hardfp-linux-gnueabi/bin/gcc > /usr/lib/gcc /usr/bin/gcc /usr/share/doc/gcc-4.7-base/gcc > /usr/share/doc/gcc /usr/share/doc/gcc-4.6-base/gcc > /usr/share/bash-completion/completions/gcc > > Those in /home/david/kernel/tools/.. are ones which successfully > compiled a new kernel and modules for the Rapsberry Pi, when using the > CCPREFIX method. I had: > > CCPREFIX=/home/david/kernel/tools/arm-bcm2708/arm-bcm2708hardfp-linux- gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi- > > export CCPREFIX > > 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 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 -- Rob _______________________________________________ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions