Ignore:
Timestamp:
May 10, 2006 7:24:40 PM (18 years ago)
Author:
bennylp
Message:

Merge-in RTEMS port patch by Phil Torre <ptorre@…>, alpha release.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/README-configure

    r432 r433  
    1 # 
    2 # This file contains all possible values for the build.mak. Select 
    3 # the appropriate settings, and put it in build.mak. 
    4 # 
    5 # (Just in case "./configure" fails to detect the appropriate values). 
    6 # 
    7 # Build configurations: 
    8 # 
    9 # MACHINE_NAME values:  
    10 #       - i386 (generic x86) 
    11 #       - sparc 
    12 #       - alpha 
    13 # 
    14 # OS_NAME values: 
    15 #       - win32 (generic windows) 
    16 #       - linux 
    17 #       - sunos 
    18 # 
    19 # CC_NAME values: 
    20 #       - gcc 
    21 #       - msvc 
    22 # 
    23 # HOST_NAME values: 
    24 #       - win32 (Windows command line) 
    25 #       - mingw (Windows, mingw) 
    26 #       - unix 
    27 # 
    281 
    29 # 
    30 # PalmOS 6 cross-compile, cygwin 
    31 # 
    32 #export MACHINE_NAME := m68k 
    33 #export OS_NAME := palmos 
    34 #export CC_NAME := gcc 
    35 #export HOST_NAME := mingw 
     2   Configuring the Build System 
     3   Update: 04 May 2006 
    364 
    37 # 
    38 # Win32, mingw 
    39 # 
    40 #export MACHINE_NAME := i386 
    41 #export OS_NAME := win32 
    42 #export CC_NAME := gcc 
    43 #export HOST_NAME := mingw 
    445 
    45 # 
    46 # Linux i386, gcc 
    47 # 
    48 export MACHINE_NAME := i386 
    49 export OS_NAME := linux 
    50 export CC_NAME := gcc 
    51 export HOST_NAME := unix 
     6  1. Overview 
     7   
     8  The "configure" script in pjproject root directory is not an autoconf script, 
     9but it's just a custom script to generate "build.mak" for the build system.  
     10The "build.mak" file declares the following global Makefile variables: 
    5211 
    53 # 
    54 # Linux KERNEL i386, gcc 
    55 # 
    56 #export MACHINE_NAME := i386 
    57 #export OS_NAME := linux-kernel 
    58 #export CC_NAME := gcc 
    59 #export HOST_NAME := unix 
    60 #export PJPROJECT_DIR := /usr/src/pjproject-0.3 
    61 ##export KERNEL_DIR = /usr/src/linux 
    62 #export KERNEL_DIR = /usr/src/uml/linux 
    63 #export KERNEL_ARCH = ARCH=um 
     12  MACHINE_NAME 
     13    The processor and hardware platform of the target. For each MACHINE_NAME, 
     14    there must be matching "m-*.mak" entry in "build/" subdirectory. For  
     15    example, when MACHINE_NAME is declared as "i386", then there must be  
     16    "m-i386.mak" file in "build/" subdirectory. 
     17   
     18  OS_NAME 
     19    Operating system name, determines which "os-*.mak" in "build/" dir to use. 
    6420 
    65 # 
    66 # SunOS, sparc, gcc 
    67 # 
    68 #export MACHINE_NAME := sparc 
    69 #export OS_NAME := sunos 
    70 #export CC_NAME := gcc 
    71 #export HOST_NAME := unix 
     21  HOST_NAME 
     22     Build host name, determines which "host-*.mak" to use. 
    7223 
     24  CC_NAME 
     25     Compiler name, determines which "cc-*.mak" to use. 
     26 
     27  TARGET_NAME 
     28     Determines suffix to be added to output files (for example, 
     29     "libpjsip-i386-linux-gcc.a"). The value normally is equal to 
     30     $(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME), but it can contain any value. 
     31   
     32  CROSS_COMPILE 
     33     Determine the prefix to be applied when invoking build tools (for 
     34     example, "powerpc-rtems-"). The default is empty. 
     35 
     36 
     37  At present, the configure script CAN NOT be used for configuring cross 
     38compilation. For cross compiling, you must create the "build.mak" file 
     39manually. 
     40 
     41 
     42  2. Supported Hosts and Targets 
     43 
     44  The number of supported hosts and targets will (hopefully) increase over time. 
     45See "build/" subdirectory for list of supported machines, OSes, hosts, and 
     46compilers. 
     47 
Note: See TracChangeset for help on using the changeset viewer.