Building Flutter Engine for Custom OS and custom tool chains.
267 views
Skip to first unread message
Vijay Ch
unread,
Dec 20, 2018, 1:43:05 AM12/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Flutter Dev
Hello, I want to build flutter for Custom OS where it has it own gcc based build tool chain. But when i try to compile it on my Linux it is able to generate the ninja files using gn build. And it fails during ninja build saying clang/clang++ not found. Since my custom tool chain doesn't support clang, i tried disabling the option --no-clang, but it didn't work.
I also want to understand the below build options given for gn.
--target-toolchain = Path to my tool chain --target-triple = the compiler name some thing like "arm-linux-gnueabihf " --toolchain-prefix = what should be the prefix here?
Can any one from the group give the answers?
Thanks in advance Vijay
Vijay Ch
unread,
Dec 20, 2018, 7:52:17 AM12/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Flutter Dev
I can see the below changes in gn script
gn_args['is_clang'] = not sys.platform.startswith(('cygwin', 'win'))
does it mean that clang is mandatory in the tool chain to build flutter?
Eric Seidel
unread,
Jan 2, 2019, 1:22:22 PM1/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vijay Ch, Flutter Dev
+Chinmay Garde likely has the answers, but may not be back in the office yet.
> --
> You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.