2002-08-10 10:42:59 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
|
|
|
<para><userinput>export JAVA_HOME=$PWD/j2sdk&j2sdk-version; :</userinput>
|
|
|
|
This command sets the location of the working java.</para>
|
|
|
|
|
|
|
|
<para><userinput>export ALT_BOOTDIR="$JAVA_HOME" :</userinput> This
|
|
|
|
command set the compiler variable that will execute the java compiler
|
|
|
|
when needed during make.</para>
|
|
|
|
|
|
|
|
<para><userinput>export ALT_MOTIF_DIR=$SRC :</userinput> This sets the
|
|
|
|
variable that points to where you unzipped the motif headers.</para>
|
|
|
|
|
|
|
|
<para><userinput>export ALT_MOZILLA_PATH=$SRC :</userinput> This sets the
|
|
|
|
variable that points to where you unzipped the mozilla headers.</para>
|
|
|
|
|
|
|
|
<para><userinput>export ALT_DEVTOOLS_PATH="/usr/bin" :</userinput> This
|
|
|
|
changes the default to the correct value.</para>
|
|
|
|
|
|
|
|
<para><userinput>export ALT_MILESTONE="blfscompiled" :</userinput> This
|
|
|
|
will help you identify this compiled version of java by appending this
|
|
|
|
to the version in the output to "java -version".</para>
|
|
|
|
|
2002-08-18 05:46:03 +08:00
|
|
|
<para><userinput>export BUILD_NUMBER=`date +%s` :</userinput> This will
|
2002-08-10 10:42:59 +08:00
|
|
|
help you identify this compiled version of the runtime environment and
|
|
|
|
virtual machine by appending this information to the version in the
|
2002-08-18 05:46:03 +08:00
|
|
|
output to "java -version".</para>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
|
|
|
<para><userinput>export DEV_ONLY=true :</userinput> This command
|
|
|
|
eliminates compiling the documentation and eliminates a dependency for
|
|
|
|
rpm. </para>
|
|
|
|
|
|
|
|
<para><userinput>export OTHER_LDFLAGS="-lpthread" :</userinput> This
|
|
|
|
command corrects compiling errors related to the pthread variables. </para>
|
|
|
|
|
|
|
|
<para><userinput>unset JAVA_HOME :</userinput> This clears the JAVA_HOME
|
|
|
|
variable and prevents misdirection during compile.</para>
|
|
|
|
|
|
|
|
<para><userinput>unset CLASSPATH :</userinput> This clears the CLASSPATH
|
|
|
|
variable and prevents misdirection during compile.</para>
|
|
|
|
|
|
|
|
<para><userinput>export OTHER_CFLAGS=${CFLAGS} :</userinput> This makes
|
2002-08-18 05:46:03 +08:00
|
|
|
j2sdk compile using your CFLAGS for optimizations.</para>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
|
|
|
<para><userinput>export OTHER_CXXFLAGS=${CXXFLAGS} :</userinput> This
|
2002-08-18 05:46:03 +08:00
|
|
|
makes j2sdk compile using your CXXFLAGS for optimizations.</para>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
|
|
|
<para><userinput>unset CFLAGS :</userinput> Now that the optimizations
|
|
|
|
are loaded, this clears the variable.</para>
|
|
|
|
|
|
|
|
<para><userinput>unset CXXFLAGS :</userinput> Now that the optimizations
|
|
|
|
are loaded, this clears the variable.</para>
|
|
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|