![Redpine Signals RS9113 Скачать руководство пользователя страница 36](http://html.mh-extra.com/html/redpine-signals/rs9113/rs9113_installation-manual_1429984036.webp)
-
-
Redpine Signals, Inc. Proprietary and Confidential
Page 36
R
R
S
S
9
9
1
1
1
1
3
3
-
-
n
n
-
-
L
L
i
i
n
n
k
k
-
-
M
M
o
o
d
d
u
u
l
l
e
e
-
-
D
D
r
r
i
i
v
v
e
e
r
r
-
-
I
I
n
n
s
s
t
t
a
a
l
l
l
l
a
a
t
t
i
i
o
o
n
n
-
-
G
G
u
u
i
i
d
d
e
e
V
V
e
e
r
r
s
s
i
i
o
o
n
n
3
3
.
.
0
0
14
Appendix:
14.1
Iperf cross compilation:
1)
Download the Iperf source ("iperf-2.0.1.tar.gz") from net to
/work folder.
2)
Extract the Iperf source by giving the below command
tar -xvf iperf-2.0.1.tar.gz
Enter into iperf source
cd iperf-2.0.1
3)
Issue the below command for generating the Makefile with platform
tool-chain path.
4)
./configure --host=arm-linux --prefix=$HOME/install
CC=(platfrom tool-chain path)-gcc
Example:
The below command is used to compile the iperf source with freescale tool
chain.
./configure --host=arm-linux –prefix=/work/iperf-2.0.1/
CC=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib
-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux- gnueabi-gcc.
Here the target platform is arm-linux, so –host = arm-linux,
CC represents the gcc toolchain path
5)
Issue the following command for compiling the iperf source with
platform tool-chain.
make
7)
Issue the following command after make is completed
make install
8)
Copy the iperf executable to the /usr/sbin or /sbin folder in the root
file system
cd /work/iperf-2.0.1
"cp bin/iperf /usr/sbin/" or "cp iperf /sbin/"