summaryrefslogtreecommitdiff
path: root/schulung_tools/notes/HOWTO-build-tcf-agent.txt
blob: 4bd38e916c1e51da7b5985be0d3ce8679801d448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# Here are instructions for downloading/building the
# TCF Agent for Eclipse Oxygen.

# from https://www.eclipse.org/tcf/downloads.php
wget https://www.eclipse.org/downloads/download.php?file=/tools/tcf/releases/1.5/org.eclipse.tcf.agent-1.5.0.zip

unzip org.eclipse.tcf.agent-1.5.0.zip

cd org.eclipse.tcf.agent-1.5.0/agent

NO_SSL=1 NO_UUID=1 MACHINE=arm CC=arm-linux-gnueabihf-gcc make -j 4

# "agent" is the resulting binary
# (you probably want to rename it to tcf-agent)
ls -l ./obj/GNU/Linux/arm/Debug/agent

# tcf-agent requires libpthread and librt
arm-linux-gnueabihf-objdump -x ./obj/GNU/Linux/arm/Debug/agent | grep NEEDED

# tcf-agent runs on port 1534