glfs/general/prog/jdk/compiled-j2sdk-exp.xml
Larry Lawrence 74c110081c added j2sdk
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@83 af4574ff-66df-0310-9fd7-8a98e5e911e0
2002-08-10 02:42:59 +00:00

57 lines
2.2 KiB
XML

<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>
<para><userinput>export BUILD_NUMBER='date +%s' :</userinput> This will
help you identify this compiled version of the runtime environment and
virtual machine by appending this information to the version in the
output to "java -version"."</para>
<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
j2sdk compile using our CFLAGS for optimizations.</para>
<para><userinput>export OTHER_CXXFLAGS=${CXXFLAGS} :</userinput> This
makes j2sdk compile using our CXXFLAGS for optimizations.</para>
<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>