Kjow schrieb: > 2009/12/4 Henry Vermaak <[email protected]>: >> This will give you the binutils for your architecture and that's >> probably not what you want. You need to cross compile the binutils >> first, so you need to make distclean in your binutils directory, then >> ./configure --target=arm-linux. You probably also want to use >> --prefix to control where the files get installed (I think /usr/local >> is the default). > > Ok, thank you! > I tried to do: > > make distclean > ./configure --target=arm-linux > make > > but I get some errors: > > ~/arm/binutils$ make > make[1]: Entering directory `/home/kjow/arm/binutils' > Configuring in ./intl > configure: loading cache ./config.cache > configure: error: `target_alias' has changed since the previous run: > configure: former value: `i686-pc-linux-gnu' > configure: current value: `arm-linux' > configure: error: in `/home/kjow/arm/binutils/intl': > configure: error: changes in the environment can compromise the build > configure: error: run `make distclean' and/or `rm ./config.cache' and start > over > make[1]: *** [configure-intl] Error 1 > make[1]: Leaving directory `/home/kjow/arm/binutils' > make: *** [all] Error 2
The makefiles of GNU binutils are broken: if you compile for another target, distclean is not enough, just delete the whole binutils source dir and unpack it again. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
