JSctypes: Difference between revisions

(Added a section on build instructions)
Line 66: Line 66:
You'll first want to check out and build the Mozilla tree.  See the [http://developer.mozilla.org/en/docs/Build_Documentation Build Documentation] for information on how to do this.  The rest of these instructions assume that the path to your mozilla tree source is called <tt>PATH_TO_MOZILLA</tt> and that your objdir is in <tt>PATH_TO_OBJDIR</tt>.
You'll first want to check out and build the Mozilla tree.  See the [http://developer.mozilla.org/en/docs/Build_Documentation Build Documentation] for information on how to do this.  The rest of these instructions assume that the path to your mozilla tree source is called <tt>PATH_TO_MOZILLA</tt> and that your objdir is in <tt>PATH_TO_OBJDIR</tt>.


You'll first want to create a directory called <tt>PATH_TO_MOZILLA/components/js-ctypes</tt> and put the svn checkout there.
You'll first want to create a directory called <tt>PATH_TO_MOZILLA/toolkit/components/js-ctypes</tt> and put the svn checkout there.


Then, from your objdir root, run the following command:
Then, from your objdir root, run the following command:


<pre>
<pre>
PATH_TO_MOZILLA/build/autoconf/make-makefile components/js-ctypes
PATH_TO_MOZILLA/build/autoconf/make-makefile toolkit/components/js-ctypes
</pre>
</pre>


canmove, Confirmed users, Bureaucrats and Sysops emeriti
2,798

edits