• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H23-Jul-2021-872796

build/H23-Jul-2021-1,2171,061

build.symbian/H23-Jul-2021-3,2102,842

doc/pjsip-book/H23-Jul-2021-4,3202,961

pjlib/H23-Jul-2021-161,034120,381

pjlib-util/H23-Jul-2021-59,88947,238

pjmedia/H03-May-2022-245,813182,847

pjnath/H23-Jul-2021-80,64561,324

pjsip/H23-Jul-2021-249,467182,053

pjsip-apps/H23-Jul-2021-148,532126,207

tests/H23-Jul-2021-16,60311,221

third_party/H03-May-2022-336,438269,090

.gitignoreH A D23-Jul-20211.4 KiB7062

COPYINGH A D23-Jul-202117.7 KiB340281

MakefileH A D03-May-20224.1 KiB152123

README-RTEMSH A D23-Jul-20212.3 KiB8848

aconfigureH A D03-May-2022300.4 KiB10,5848,697

aconfigure.acH A D23-Jul-202171.6 KiB2,2832,053

bb10-config.makH A D23-Jul-20211.4 KiB4539

build.mak.inH A D23-Jul-202111.7 KiB340300

c++-build.makH A D23-Jul-2021350 2115

config.guessH A D23-Jul-202143.9 KiB1,5351,325

config.subH A D23-Jul-202134.8 KiB1,7831,640

configureH A D23-Jul-2021130 81

configure-androidH A D23-Jul-202111.3 KiB361271

configure-bb10H A D23-Jul-20211.9 KiB6850

configure-iphoneH A D23-Jul-20215.3 KiB173128

configure-legacyH A D23-Jul-20214.2 KiB149108

install-shH A D23-Jul-20215.4 KiB252153

libpjproject.pc.inH A D23-Jul-2021328 1512

pjproject-vs14.slnH A D23-Jul-2021161.8 KiB1,9771,975

pjproject-vs8.slnH A D23-Jul-2021423.4 KiB3,4073,405

pkgconfig.pyH A D03-May-20224.1 KiB174146

self-test.makH A D23-Jul-20213.1 KiB11477

svn_addH A D23-Jul-202138 72

svn_add.batH A D23-Jul-2021122 138

svn_psetH A D23-Jul-202172 52

svn_pset.batH A D23-Jul-2021155 128

user.mak.sampleH A D23-Jul-2021182 64

version.makH A D23-Jul-2021439 1712

README-RTEMS

1
2
3
4              Build Instructions for PJLIB/PJMEDIA/PJSIP RTEMS Port
5
6
7
8The RTEMS port uses the POSIX abstraction layer at the moment, and has been
9tested with RTEMS 4.6 on i386 target.
10
11
12Building RTEMS
13---------------
14I use RTEMS 4.6 on a cygwin host with i386/pc386 as target, but I think it
15should work with different RTEMS versions/hosts/targets.
16
17RTEMS was built with the following commands:
18
19  $ /opt/src/rtems-4.6.6/configure --enable-cxx --enable-posix --enable-networking --enable-rdbg --enable-tests --enable-rtemsbsp=pc386 --target=i386-rtems
20  $ make
21  $ make install
22
23
24Supported Targets
25-----------------
26At the moment, pjlib supports i386 and mpc860 CPU target. For other targets,
27you would need to create/tweak the appropriate "m-xxx.mak" in "build" directory
28and the corresponding "m_xxx.h" header file in "pj/compat" directory.
29
30Please refer to pjlib porting guide about how to port PJLIB to new CPU target.
31
32
33Building PJLIB/PJMEDIA/PJSIP
34----------------------------
35Use the following steps to build the libraries:
36
37
381. Set RTEMS_LIBRARY_PATH environment variable to point to your BSP directory
39   (which is <RTEMS INSTALLATION POINT>/<BOARD SUPPORT PACKAGE>).
40
41   For example (with sh):
42
43   $ export RTEMS_LIBRARY_PATH=/opt/rtems-4.6/i386-rtems/pc386
44
45
462. Unfortunately pjproject's configure script is unable to create "build.mak"
47   for cross compilation (but this may change in the future), so we need to
48   create "build.mak" manually.
49
50   The file "README-configure" has some info about the variables in "build.mak".
51
52   For example, the "build.mak" for i386 target:
53
54   export MACHINE_NAME := i386
55   export OS_NAME := rtems
56   export HOST_NAME := mingw
57   export CC_NAME := gcc
58   export TARGET_NAME := i386-rtems
59   export CROSS_COMPILE := i386-rtems-
60
61
623. Put additional CFLAGS or LDFLAGS that are specific to your target in
63   "user.mak".
64
65   For example, my "user.mak" looks like this:
66
67   export CFLAGS +=
68   export LDFLAGS += -Wl,-Ttext,0x00100000 -Wl,--defsym -Wl,HeapSize=0x400000
69
70
714. Build the libraries:
72
73   $ make dep && make distclean && make
74
75
765. That should be it. The libraries should be in "lib" directory and
77   applications in "bin" directory.
78
79
80
81Acknowledgements
82----------------
83Many thanks for Phil Torre <ptorre at zetron dot com>, who did most of the
84initial porting and testing with pjlib etc. All credits go to him.
85
86
87
88