On Wed, Sep 1, 2010 at 11:57 PM, Daniel Dilts <[email protected]> wrote: > r...@c23:/opt/squid-3.1.7# ./configure --target=mipsel-linux > --host=mipsel-linux > --prefix=/media/dansguardian/squid/ --disable-http-violations > --config-cache > configure: WARNING: If you wanted to set the --build type, don't use --host. > If a cross compiler is detected then cross compile mode will be used. ... > configure: error: C compiler cannot create executables
I think you need to heed the warning here..I don't think you are supposed to use --host here. It makes it look like you are compiling on the mipsel box itself...the target is mipsel but the host (the machine you are building on) is x86 (or x86_64)...thus, it will try and run the executable it generates on the box you are on...if you omit the --host it will not try to run the executable because it knows you are cross-compiling Hopefully I am not mistaken....its been a while since I have cross-compiled something -Brandon -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
