On 11/25/05, Harry Putnam <[EMAIL PROTECTED]> wrote: > Harry Putnam <[EMAIL PROTECTED]> writes: > > [...] > > > checking whether the C compiler (gcc -O2 -march=pentium4 > > -fomit-frame-pointer -L/usr/X11R6/lib -ltiff -L/usr/lib) is a > > cross-compiler... yes > > Still thinks its a cross-compiler... what does that mean anyway?
Well, generally, it means that you are compiling for a different architecture than what you are running. For example, it is possible to compile for AMD64 CPUs from a P4 host, or vice-versa. However, since you are not doing that, it means your toolchain is broken in some way. The way autoconf (the ./configure script) checks for this is that it compiles a very simple program. This program is: #line 1880 "configure" #include "confdefs.h" main(){return(0);} It then compiles this program. If the program compiles, configure decides that gcc works. If the program doesn't run, it decides that you are cross compiling. So, let's try this manually. Save the above lines to a file, call it conftest.c. The build it with gcc -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib -ltiff -L/usr/lib -o conftest conftest.c If the compile complets without error, try running the program with: conftest && echo "works" -Richard -- gentoo-user@gentoo.org mailing list