зеркало из https://github.com/mozilla/pjs.git
** not part of tbuild **
Updated README for linux build.
This commit is contained in:
Родитель
f96409cba5
Коммит
cd916d22a1
|
@ -26,7 +26,7 @@ Requirements:
|
||||||
|
|
||||||
* JDK1.3
|
* JDK1.3
|
||||||
|
|
||||||
* Perl 5 perl.exe must be in your path
|
* Perl 5 must be in your path
|
||||||
|
|
||||||
How To Build:
|
How To Build:
|
||||||
|
|
||||||
|
@ -39,17 +39,38 @@ How To Build:
|
||||||
$MOZILLA_FIVE_HOME:$JDKHOME/jre/lib/$HOSTTYPE/native_threads:$JDKHOME/jre/lib/$HOSTTYPE/classic:
|
$MOZILLA_FIVE_HOME:$JDKHOME/jre/lib/$HOSTTYPE/native_threads:$JDKHOME/jre/lib/$HOSTTYPE/classic:
|
||||||
$JDKHOME/jre/lib/$HOSTTYPE/:
|
$JDKHOME/jre/lib/$HOSTTYPE/:
|
||||||
|
|
||||||
* Set CONNECT_SRC environment variable to connect directoty,
|
* type "gmake"
|
||||||
ie /ws/mozilla/mozilla/java/xpcom/connect
|
|
||||||
|
|
||||||
|
==============================================
|
||||||
|
Linux directions
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
|
||||||
|
* mozilla m16 build tree
|
||||||
|
|
||||||
|
* JDK1.3 from IBM
|
||||||
|
|
||||||
|
* Perl 5 must be in your path
|
||||||
|
|
||||||
|
How To Build:
|
||||||
|
|
||||||
|
* make sure the environment var JDKHOME is set to your jdk installation
|
||||||
|
directory, ie export JDKHOME=/usr/local/jdk1.3
|
||||||
|
|
||||||
|
* Add following directories to to your LD_LIBRARY_PATH:
|
||||||
|
|
||||||
|
$MOZILLA_FIVE_HOME:$JDKHOME/jre/bin:$JDKHOME/jre/bin/classic:
|
||||||
|
|
||||||
* type "gmake"
|
* type "gmake"
|
||||||
|
|
||||||
===============================================
|
==============================================
|
||||||
How to run test java component
|
How to run test java component
|
||||||
===============================================
|
===============================================
|
||||||
* cd java/test
|
* cd java/test
|
||||||
* gmake
|
* gmake
|
||||||
|
* add $MOZILLA_FIVE_HOME/dist/classes to your CLASSPATH
|
||||||
Test component would be placed in dist/bin/componets and loaded on mozilla
|
Test component would be placed in dist/bin/componets and loaded on mozilla
|
||||||
sturtup
|
sturtup (or you can use regxpcom for testing)
|
||||||
|
|
||||||
|
|
|
@ -50,9 +50,16 @@ CPPSRCS = \
|
||||||
|
|
||||||
CXXFLAGS += -I$(JDKHOME)/include -I$(JDKHOME)/include/linux $(MOZ_TOOLKIT_REGISTRY_CFLAGS) -D_REENTRANT -DOJI_DISABLE -I$(CONNECT_SRC)/public
|
CXXFLAGS += -I$(JDKHOME)/include -I$(JDKHOME)/include/linux $(MOZ_TOOLKIT_REGISTRY_CFLAGS) -D_REENTRANT -DOJI_DISABLE -I$(CONNECT_SRC)/public
|
||||||
|
|
||||||
|
|
||||||
|
#DSO_LDOPTS += \
|
||||||
|
# -L$(JDKHOME)/jre/lib/$(HOSTTYPE)/ \
|
||||||
|
# -L$(JDKHOME)/jre/lib/$(HOSTTYPE)/classic \
|
||||||
|
# -ljvm \
|
||||||
|
# $(NULL)
|
||||||
|
|
||||||
DSO_LDOPTS += \
|
DSO_LDOPTS += \
|
||||||
-L$(JDKHOME)/jre/lib/$(HOSTTYPE)/ \
|
-L$(JDKHOME)/jre/bin \
|
||||||
-L$(JDKHOME)/jre/lib/$(HOSTTYPE)/server \
|
-L$(JDKHOME)/jre/bin/classic \
|
||||||
-ljvm \
|
-ljvm \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче