[74c1100] | 1 | <sect2>
|
---|
| 2 | <title>Command explanations</title>
|
---|
| 3 |
|
---|
| 4 | <para><userinput>export JAVA_HOME=$PWD/j2sdk&j2sdk-version; :</userinput>
|
---|
| 5 | This command sets the location of the working java.</para>
|
---|
| 6 |
|
---|
| 7 | <para><userinput>export ALT_BOOTDIR="$JAVA_HOME" :</userinput> This
|
---|
| 8 | command set the compiler variable that will execute the java compiler
|
---|
| 9 | when needed during make.</para>
|
---|
| 10 |
|
---|
| 11 | <para><userinput>export ALT_MOTIF_DIR=$SRC :</userinput> This sets the
|
---|
| 12 | variable that points to where you unzipped the motif headers.</para>
|
---|
| 13 |
|
---|
| 14 | <para><userinput>export ALT_MOZILLA_PATH=$SRC :</userinput> This sets the
|
---|
| 15 | variable that points to where you unzipped the mozilla headers.</para>
|
---|
| 16 |
|
---|
| 17 | <para><userinput>export ALT_DEVTOOLS_PATH="/usr/bin" :</userinput> This
|
---|
| 18 | changes the default to the correct value.</para>
|
---|
| 19 |
|
---|
| 20 | <para><userinput>export ALT_MILESTONE="blfscompiled" :</userinput> This
|
---|
| 21 | will help you identify this compiled version of java by appending this
|
---|
| 22 | to the version in the output to "java -version".</para>
|
---|
| 23 |
|
---|
| 24 | <para><userinput>export BUILD_NUMBER='date +%s' :</userinput> This will
|
---|
| 25 | help you identify this compiled version of the runtime environment and
|
---|
| 26 | virtual machine by appending this information to the version in the
|
---|
| 27 | output to "java -version"."</para>
|
---|
| 28 |
|
---|
| 29 | <para><userinput>export DEV_ONLY=true :</userinput> This command
|
---|
| 30 | eliminates compiling the documentation and eliminates a dependency for
|
---|
| 31 | rpm. </para>
|
---|
| 32 |
|
---|
| 33 | <para><userinput>export OTHER_LDFLAGS="-lpthread" :</userinput> This
|
---|
| 34 | command corrects compiling errors related to the pthread variables. </para>
|
---|
| 35 |
|
---|
| 36 | <para><userinput>unset JAVA_HOME :</userinput> This clears the JAVA_HOME
|
---|
| 37 | variable and prevents misdirection during compile.</para>
|
---|
| 38 |
|
---|
| 39 | <para><userinput>unset CLASSPATH :</userinput> This clears the CLASSPATH
|
---|
| 40 | variable and prevents misdirection during compile.</para>
|
---|
| 41 |
|
---|
| 42 | <para><userinput>export OTHER_CFLAGS=${CFLAGS} :</userinput> This makes
|
---|
| 43 | j2sdk compile using our CFLAGS for optimizations.</para>
|
---|
| 44 |
|
---|
| 45 | <para><userinput>export OTHER_CXXFLAGS=${CXXFLAGS} :</userinput> This
|
---|
| 46 | makes j2sdk compile using our CXXFLAGS for optimizations.</para>
|
---|
| 47 |
|
---|
| 48 | <para><userinput>unset CFLAGS :</userinput> Now that the optimizations
|
---|
| 49 | are loaded, this clears the variable.</para>
|
---|
| 50 |
|
---|
| 51 | <para><userinput>unset CXXFLAGS :</userinput> Now that the optimizations
|
---|
| 52 | are loaded, this clears the variable.</para>
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|