How to Cross compile WebRTC for ARM platform

1,032 views
Skip to first unread message

Jeffrey

unread,
Nov 19, 2019, 9:33:11 AM11/19/19
to discuss-webrtc
Dear all
    i want to build webrtc libraries for arm (huawei hi3516DV300) platform,but i dont know how to gen projects. anybody know that?

Eric Davies

unread,
Nov 19, 2019, 1:09:07 PM11/19/19
to discuss-webrtc
When I google, I see its not an android phone, but some system on a chip.
In order to get useful information, you want to specify what operating system you are running on it.

Jeffrey

unread,
Nov 20, 2019, 5:27:39 AM11/20/19
to discuss-webrtc
linux operating system,but the cross compile tools is dependcy the chip

在 2019年11月20日星期三 UTC+8上午2:09:07,Eric Davies写道:

Eric Davies

unread,
Nov 20, 2019, 10:38:53 AM11/20/19
to discuss...@googlegroups.com
If I understand correctly,  your SOC is an arm device. Have you looked at instructions for compiling for linux on other arm devices, like the raspberry pi?


--

---
You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/M5r-zCg7svk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/639f9d1e-23e2-4769-96af-6b5ee4fed1a2%40googlegroups.com.


--
Eric Davies

Jeffrey

unread,
Nov 21, 2019, 4:14:16 AM11/21/19
to discuss-webrtc
1、yes,i use the arm soc (HI3518EV300 and HI3516DV300),the cross compile tools link is https://pan.baidu.com/s/1e7wOQbIYpldKAyn5Y8iZkw
2、I refer to the raspberry PI compilation method(https://github.com/ipop-project/ipop-project.github.io/wiki/Build-WebRTC-Libraries,-Intro), but it reports a lot of errors during compilation. Moreover, the raspberry PI method is 2 years old, and the source code of webrtc I use now is the latest code of M79
3、The compiler tools I used for HI3518EV300 SOC is arm-himix100-linux.tar.gz
4、The compiler tools I used for HI3516DV300 SOC is arm-himix200-linux.tar.gz

could you help me make the webrtc m79 or m76 branch souce code use the arm-himix100-linux.tar.gz or arm-himix200-linux.tar.gz tools ? thanks

Notice :
    arm-himix100-linux.tar.gz is uclic lib 
    arm-himix200-linux.tar.gz is gnu lib
     


在 2019年11月19日星期二 UTC+8下午10:33:11,Jeffrey写道:

Jeffrey

unread,
Nov 21, 2019, 4:19:51 AM11/21/19
to discuss-webrtc
 or could you provide the webrtc cross-compiled document for other arm platform when i use the soc cross compile tools ?

在 2019年11月19日星期二 UTC+8下午10:33:11,Jeffrey写道:
Dear all

Alexandre GOUAILLARD

unread,
Nov 23, 2019, 12:06:59 AM11/23/19
to discuss...@googlegroups.com
Go into the /build subdirectory, then the /toolchain subdirectory.
check the toolchain.gni and the other gni files first, they are the "abstract" templates all the toolchains use.
then look into the android or other arm toolchain to inspire yourself from.

webrtc/src/build/toolchain


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/3a646a7a-8f67-48ab-b916-1c157d3a0a53%40googlegroups.com.


--
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------

Arjav Parikh

unread,
Mar 22, 2020, 3:57:57 PM3/22/20
to discuss-webrtc
Hi Jeffrey,

Were you able to compile webrtc using "arm-himix100-linux.tar.gz" toolchain?
I am trying to compile webrtc using "arm-buildroot-linux-uclibcgnueabihf-".
Can you share the steps to compile webrtc for ARM by passing toolchain path.

Thanks & Regards,
Arjav Parikh
Reply all
Reply to author
Forward
0 new messages