Passing commands to the compiler with ./cofigure
I'm having a little trouble installing MySQL on my PS2. "./configure" won't work, "./configure -build=mipsel-redhat-linux" works a little better, but it still doesn't work. I think what I need to do is pass a few params to the compiler. "./configure --help" says you can do this with the environment variable "CPPFLAGS".
I added "env CPPFLAGS='-build=mipsel-redhat-linux'" to the ./configure shell script, but that didn't work. I looked through the man/help pages of the g++ and gcc, and I can't find where it talks about -build. I thought I had seen it in there somewhere before.
Why can't it figure out the build type, and how can I tell the compiler what the build type is?