I don't have linux PC box - I'm compiling linux binaries under Windows. I'm using cygwin with crosstool. This way I'm probably not able to do it so. You can get my makefile with pb mm sources from the filebase and You can look at it.
BTW - thanks for moving the topic to the correct area.