+ 1

Compiler for c

What is the best compiler for the c programming language to download for my android device?

22nd Mar 2018, 7:27 PM
Mulengwa Chibwe
Mulengwa Chibwe - avatar
7 Réponses
+ 2
Thanks.I'll be sure to check it out.
22nd Mar 2018, 9:19 PM
Mulengwa Chibwe
Mulengwa Chibwe - avatar
+ 1
just downloaded termux. Though I must admit it is a bit confusing.Any suggestions on where I can learn how to use it 😥😅🙈
23rd Mar 2018, 11:26 AM
Mulengwa Chibwe
Mulengwa Chibwe - avatar
+ 1
Don't know why I didn't think to look there before😅😅😅.Thanks once again.
23rd Mar 2018, 4:42 PM
Mulengwa Chibwe
Mulengwa Chibwe - avatar
+ 1
OK I fiddled around a bit.Very interesting package but I'll need time before I can get full grasp of it.Just one question for you,how do I write a simple hello world program I've tried and tried but can't seem too get any output😥😥
23rd Mar 2018, 7:01 PM
Mulengwa Chibwe
Mulengwa Chibwe - avatar
+ 1
Maybe I'm missing something but after following your instructions I managed to install clang.But when I type in myprogram I keep on getting different errors like no such file or directory:'myprogram' and clang 6.0:error:-E or -x required when input is from standard input.my last errors said bash: syntax error near unexpected token `(' and bash: syntax error near unexpected token `{"Hello,World"}'
24th Mar 2018, 3:49 PM
Mulengwa Chibwe
Mulengwa Chibwe - avatar
+ 1
Making baby steps but I'm still no there😰😦😩.I copied your program onto nano and proceeded to type ls to check for executable files,The files I saved appeared as Hello & HelloWorldC (yes I created 2 files) but none was green.I then typed gcc -o Hello Hello.c and ran it but I got error:no such file or directory exists:Hello.c,error:no input files(tried the same for HelloWorldC file but same result.I got so desperate that I even used the -E flag and -x flag but keep on getting errors.pleeeze help😢.(I'll keep trying though)
25th Mar 2018, 5:37 PM
Mulengwa Chibwe
Mulengwa Chibwe - avatar
+ 1
Thanks for the help I finally managed👍👍👍.
28th Mar 2018, 10:05 AM
Mulengwa Chibwe
Mulengwa Chibwe - avatar