00001 * 00002 /*! 00003 * @file test/common.sh 00004 * 00005 * @brief Common code to build Java test programs for exercising 00006 * various parts of the JVM 00007 * 00008 * This script is common to @b build.sh and @b clean.sh and is not 00009 * designed to do anything on its own. 00010 * 00011 * Each of these directories contains a @b build.sh script. In addition 00012 * to these, an Eclipse project file is available in each for use with 00013 * the Eclipse C/C++ plugin, so this entire directory tree may be 00014 * imported wholesale into an Eclipse workspace and used without 00015 * changes. (Eclipse 3.0.2 generated these files.) Notice that 00016 * the Eclipse setup does not build the documentation set. This must 00017 * be done manually with the top-level 'build.sh dox'. 00018 * 00019 * Each of these directories also contains a @b clean.sh script which 00020 * removes the output of @b build.sh. 00021 * 00022 * @attention The configuration options stored by 'config.sh' into the 00023 * file @b config/confopts.gcc are @e not directly available to 00024 * Eclipse and @e must be manually entered there after they are 00025 * established by @link config.sh config.sh@endlink. They 00026 * should be entered in the project build parameters for C/C++ in the 00027 * miscellaneous parameters section. For example, '-m32' and '-m64'. 00028 * For a command line GCC invocation, the following is a convenient 00029 * way to incorporate the options: 00030 * 00031 * @verbatim 00032 * 00033 * $ gcc `cat ../config/config_opts_always.gcc` \ 00034 * `cat ../config/config_opts_usually.gcc` -c filename.c ... 00035 * 00036 * @endverbatim 00037 * 00038 * Notice that this script may be run instead of or as well as an 00039 * Eclipse build. The only difference is where the object files 00040 * are stored. 00041 * 00042 * @see @link test/build.sh test/build.sh@endlink 00043 * 00044 * @see @link test/clean.sh test/clean.sh@endlink 00045 * 00046 * @see @link ./build.sh ./build.sh@endlink 00047 * 00048 * @see @link ./clean.sh ./clean.sh@endlink 00049 * 00050 * @see @link ./common.sh ./common.sh@endlink 00051 * 00052 * 00053 * 00054 * @todo A Windows .BAT version of this script needs to be written 00055 * 00056 * 00057 * @section Control 00058 * 00059 * \$URL: https://svn.apache.org/path/name/common.sh $ \$Id: common.sh 0 09/28/2005 dlydick $ 00060 * 00061 * Copyright 2005 The Apache Software Foundation 00062 * or its licensors, as applicable. 00063 * 00064 * Licensed under the Apache License, Version 2.0 ("the License"); 00065 * you may not use this file except in compliance with the License. 00066 * You may obtain a copy of the License at 00067 * 00068 * http://www.apache.org/licenses/LICENSE-2.0 00069 * 00070 * Unless required by applicable law or agreed to in writing, 00071 * software distributed under the License is distributed on an 00072 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00073 * either express or implied. 00074 * 00075 * See the License for the specific language governing permissions 00076 * and limitations under the License. 00077 * 00078 * @version \$LastChangedRevision: 0 $ 00079 * 00080 * @date \$LastChangedDate: 09/28/2005 $ 00081 * 00082 * @author \$LastChangedBy: dlydick $ 00083 * Original code contributed by Daniel Lydick on 09/28/2005. 00084 * 00085 * @section Reference 00086 * 00087 */ /* 00088 * (Use #! and #/ with dox_filter.sh to fool Doxygen into 00089 * parsing this non-source text file for the documentation set. 00090 * Use the above open comment to force termination of parsing 00091 * since it is not a Doxygen-style 'C' comment.) 00092 * 00093 * 00094 *################################################################## 00095 * 00096 * Script setup 00097 * 00098 * 00099 * EOF 00100