1
edit
Changes
→Step 3: .Mozconfig file
Once you have extracted all the contents of the tar file (from Step 1), you should have a mozilla directory.
<codepre>
//Assuming you placed it within your home directory<br>
$cd ~/mozilla<br>
$vi .mozconfig
<b>ac_add_options --enable-dtrace</b><br>
ac_add_options --disable-tests<br>
ac_add_options --enable-optimize<br>
ac_add_options --enable-application=browser
</codepre>
The bolded option is the one we need. This tells the build to check for D-Trace dependancies and build the necessary probes on runtime. The rest are to ensure your build goes as fast as possible, and the application in the end will consume less memory. :wq out of the file and compile Mozilla using:<br>
This works the same way. But I have seen most OpenSolaris people do this when it comes to installing patches to improve the D-Trace functionality.
==Step 4: Check for current probes==