> > > I am building some packages for my dd-wrt router. I have the toolchain > to > > compile for it, and I have verified that it does produce the correct > output > > (helloworld FTW). Anyway, I now have a package that I am building that > uses > > a configure script and make to build. How would I tell it to build using > > the set of tools for cross compiling? The executables are all in a bin > > directory and they are all prefixed with mipsel-linux- > > If you are trying to build a program that uses autoconf (configure), you > need something like this: > > ./configure --target=mipsel-linux --host=mipsel-linux >
Now I'm getting the following error: configure: error: cannot run test program while cross compiling See `config.log' for more details. How do I disable tests?
-------------------- 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
