Supportedplatforms
-------------------
-MIPS32andMIPS64platformsarecurrentlysupported.
-Bothlittle-endianandbig-endiancoresaresupported.
-MIPSDSPASEonMIPS32platformsissupported.
BuildingVforMIPS
-------------------
-Nativebuildisavailableforallsupportedplatforms.Thebuildsystem
expectsthatnativeGCCisconfiguredcorrectlyandoptimizedfortheplatform.
Yet,thismaynotbethecasewithsomeDebiandistributionswhichconfigure
GCCtocompileto"mips1"bydefault.Dependingonatargetplatform,using
CFLAGS="-mips32r2",CFLAGS="-mips32"orCFLAGS="-mips64"or
CFLAGS="-mips64-mabi=64"willdothetrickandcompileValgrindcorrectly.
-Useofcross-toolchainissupportedaswell.
-Exampleofconfigurelineandadditionalconfigureoptions:
$./configure--host=mipsel-linux-gnu--prefix=<path_to_install_directory>
*--host=mips-linux-gnuisnecessaryonlyifValgrindisbuiltonplatform
otherthenMIPS,toolsforbuildingMIPSapplicationhavetobeinPATH.
*--host=mips-linux-gnuisnecessaryifyoucompileitwithcrosstoolchain
compilerforbigendianplatform.
*--host=mipsel-linux-gnuisnecessaryifyoucompileitwithcrosstoolchain
compilerforlittleendianplatform.
*--build=mips-linuxisneededifyouwanttobuilditforMIPS32on64-bit
MIPSsystem.
*IfyouarecompilingValgrindformips32withgccversionolderthen
gcc(GCC)4.5.1,youmustspecifyCFLAGS="-mips32r2-mplt",e.g.
./configure--prefix=<path_to_install_directory>
CFLAGS="-mips32r2-mplt"
Limitations
-----------
-Somegdbtestswillfailwhengdb(GDB)olderthan7.5isusedandgdbis
notcompiledwith'--with-expat=yes'.
-YoucannotcompiletestsforDSPASEifyouareusinggcc(GCC)older
then4.6.1duetoabuginthetoolchain.
-OlderGCCmayhaveissueswithsomeinlineassemblyblocks.Getatoolchain
basedonnewerGCCversions,ifpossible.