This script is common to build.sh and clean.sh and is not designed to do anything on its own.
All source code compiled according to selections from config.sh. This may or may not include any or all of:
Each of these directories contains a build.sh script. In addition to these, an Eclipse project file is available in each for use with the Eclipse C/C++ plugin, so this entire directory tree may be imported wholesale into an Eclipse workspace and used without changes. (Eclipse 3.0.2 generated these files.) Notice that the Eclipse setup does not build the documentation set. This must be done manually with the top-level 'build.sh dox'.
config/config_*.gcc*
are not directly available to Eclipse and must be manually entered there after they are established by config.sh. They should be entered in the project build parameters for C/C++ in the miscellaneous parameters section. For example, -m32 and -m64 . For a command line GCC invocation, the following is a convenient way to incorporate the options:* * $ gcc `cat ../config/config_opts_always.gcc` \ * `cat ../config/config_opts_usually.gcc` -c filename.c ... * *
Notice that this script may be run instead of or as well as an Eclipse build. There is only a slight difference as to where the compiled object files are stored, but the binaries and library archives are stored in the same place for both methods.
jni/src/harmony/generic/0.0/build.sh
Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
Definition in file common.sh.
Go to the source code of this file.