1 Aug 2003 03:37
bug#342: we need to make glibc's autoconf believe that it should cross-compile
Nick Moffitt <nick <at> zork.net>
2003-08-01 01:37:38 GMT
2003-08-01 01:37:38 GMT
So I have been in correspondance with Daniel Jacobowitz, and he has given some great advice. He says that modern autoconf builds key off of differences between --host and --build. Since both of ours are x86, it figures it doesn't need to bother with cross-compiling, and makes too many assumptions about what is native. He suggested the following examples for ways to trick autoconf into taking the cross-compile path, which keeps glibc from doing locales and rpcgen and lots of other bulky time-consuming stuff that we really don't want anyway: ../src/configure --build=i386-pc-linux-gnu --host=i686-pc-linux-gnu ../src/configure --build=i686-mydesktop-linux-gnu --host=i686-pc-linux-gnu ../src/configure --build=i686-monkeys-linux-gnu --host=i686-bananas-linux-gnu The --host one will show up in the built glibc, so we should probably choose it carefully, like --host=i386-lnxbbc-linux-gnu or something. -- -- end Support your droogs!
RSS Feed