I have got the mips-gcc toolchain source code and binaries from some chipset maker. I want to build the source of toolchain but I don't know the configure options/flags that were used to build the source. Is there any way so that I can get these options flags ?
Try gcc -v.
This should give you the configure parameters.