Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

common.sh File Reference


Detailed Description

Common code for build.sh and clean.sh and dist-src.sh and dist-bin.sh and dist-doc.sh.

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'.

Attention:
For Eclipse uses, be aware that the configuration options stored by config.sh into 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.

See also:
./build.sh

./clean.sh

jvm/build.sh

libjvm/build.sh

main/build.sh

test/build.sh

jni/src/harmony/generic/0.0/build.sh

jvm/clean.sh

libjvm/clean.sh

main/clean.sh

test/clean.sh

jni/src/harmony/generic/0.0/clean.sh

jvm/common.sh

libjvm/common.sh

main/common.sh

test/common.sh

jni/src/harmony/generic/0.0/common.sh

Todo:
A Windows .BAT version of this script needs to be written

Control

$URL: https://svn.apache.org/path/name/build.sh $ $Id: build.sh 0 09/28/2005 dlydick $

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.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file common.sh.

Go to the source code of this file.


Generated on Fri Sep 30 18:49:20 2005 by  doxygen 1.4.4