90
edits
(→Steps) |
|||
| Line 42: | Line 42: | ||
== Steps == | == Steps == | ||
The following description is based on [http://developer.mozilla.org/en/docs/NSPR_build_instructions NSPR build instruction]. | |||
# Get NSPR source by either cvs, then apply the [https://bugzilla.mozilla.org/attachment.cgi?id=327262 patch] | |||
cvs -q -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r HEAD mozilla/nsprpub | |||
# or get patched already sources from Mozilla-Symbian project at Google Code | |||
# | svn checkout https://mozilla-symbian.googlecode.com/svn/trunk/ mozilla | ||
For Emulator target build: | |||
# | |||
# create a build directory | |||
mkdir winscw.build | |||
cd winscw.build | |||
# run configure script | |||
configure --target=arm-none-symbianelf --enable-symbian-target=GCCE --disable-debug | ../mozilla/nsprpub/configure --target=arm-none-symbianelf --enable-symbian-target=WINSCW | ||
# build the libraries | |||
make | |||
# build the test programs | |||
cd pr/tests | |||
make | |||
For Device target build: | |||
# create a build directory for emulator target | |||
mkdir gcce.build | |||
cd gcce.build | |||
# run configure script | |||
../mozilla/nsprpub/configure --target=arm-none-symbianelf --enable-symbian-target=GCCE --disable-debug | |||
# build the libraries | |||
make | |||
# build the test programs | |||
cd pr/tests | |||
make | |||
At this point, you have done building NSPR for Symbian OS. | At this point, you have done building NSPR for Symbian OS. | ||
edits