From 50a501dbe89ec8f9a76540015890dd361f1ec8a1 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 10 May 2006 19:24:40 +0000 Subject: Merge-in RTEMS port patch by Phil Torre , alpha release. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@433 74dad513-b988-da41-8d7b-12977e46ad98 --- README-configure | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 README-configure (limited to 'README-configure') diff --git a/README-configure b/README-configure new file mode 100644 index 00000000..790848f0 --- /dev/null +++ b/README-configure @@ -0,0 +1,47 @@ + + Configuring the Build System + Update: 04 May 2006 + + + 1. Overview + + The "configure" script in pjproject root directory is not an autoconf script, +but it's just a custom script to generate "build.mak" for the build system. +The "build.mak" file declares the following global Makefile variables: + + MACHINE_NAME + The processor and hardware platform of the target. For each MACHINE_NAME, + there must be matching "m-*.mak" entry in "build/" subdirectory. For + example, when MACHINE_NAME is declared as "i386", then there must be + "m-i386.mak" file in "build/" subdirectory. + + OS_NAME + Operating system name, determines which "os-*.mak" in "build/" dir to use. + + HOST_NAME + Build host name, determines which "host-*.mak" to use. + + CC_NAME + Compiler name, determines which "cc-*.mak" to use. + + TARGET_NAME + Determines suffix to be added to output files (for example, + "libpjsip-i386-linux-gcc.a"). The value normally is equal to + $(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME), but it can contain any value. + + CROSS_COMPILE + Determine the prefix to be applied when invoking build tools (for + example, "powerpc-rtems-"). The default is empty. + + + At present, the configure script CAN NOT be used for configuring cross +compilation. For cross compiling, you must create the "build.mak" file +manually. + + + 2. Supported Hosts and Targets + + The number of supported hosts and targets will (hopefully) increase over time. +See "build/" subdirectory for list of supported machines, OSes, hosts, and +compilers. + -- cgit v1.2.3