titus@titus-desktop:~/Desktop/C$ titus@titus-desktop:~/Desktop/C$ strace arm-eabi-gcc c-test.c execve("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", ["arm-eabi-gcc", "c-test.c"], [/* 40 vars */]) = 0 brk(0) = 0x9189000 uname({sys="Linux", node="titus-desktop", ...}) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7763000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=95687, ...}) = 0 mmap2(NULL, 95687, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb774b000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\226\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1730024, ...}) = 0 mmap2(NULL, 1739484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75a2000 mmap2(0xb7745000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3) = 0xb7745000 mmap2(0xb7748000, 10972, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7748000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75a1000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb75a1900, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7745000, 8192, PROT_READ) = 0 mprotect(0xb7785000, 4096, PROT_READ) = 0 munmap(0xb774b000, 95687) = 0 brk(0) = 0x9189000 brk(0x91aa000) = 0x91aa000 rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x804f9c0, [INT], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0xb75d0288}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGHUP, {0x804f9c0, [HUP], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0xb75d0288}, 8) = 0 rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x804f9c0, [TERM], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0xb75d0288}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {0x804f9c0, [PIPE], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0xb75d0288}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0xb75d0288}, {SIG_DFL, [], 0}, 8) = 0 access("/opt/toolchain/arm-2009q1/bin/arm-eabi-gcc", X_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", X_OK) = 0 access("/opt/toolchain/arm-2009q1/bin/arm-eabi-gcc", X_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-2009q1/bin/arm-eabi-gcc", X_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../google/home/android/cupcake_rel_root", F_OK) = -1 ENOENT (No such file or directory) access("c-test.c", F_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/arm-eabi/4.4.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/specs", R_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/lib/arm-eabi/4.4.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/lib/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/local/lib/gcc/arm-eabi/specs", R_OK) = -1 ENOENT (No such file or directory) access("/tmp", R_OK|W_OK|X_OK) = 0 gettimeofday({1398420112, 420206}, NULL) = 0 getpid() = 6127 open("/tmp/cc1xUemD.s", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 3 close(3) = 0 stat64("/opt/toolchain/arm-eabi-4.4.3-master/bin/../libexec/gcc/arm-eabi/4.4.3/cc1", {st_mode=S_IFREG|0755, st_size=32066615, ...}) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../libexec/gcc/arm-eabi/4.4.3/cc1", X_OK) = 0 vfork() = 6128 waitpid(6128, c-test.c:1:19: error: stdio.h: No such file or directory c-test.c:2:20: error: stdlib.h: No such file or directory c-test.c: In function 'main': c-test.c:12: warning: incompatible implicit declaration of built-in function 'printf' [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 6128 --- SIGCHLD (Child exited) @ 0 (0) --- stat64("/tmp/cc1xUemD.s", {st_mode=S_IFREG|0600, st_size=297, ...}) = 0 unlink("/tmp/cc1xUemD.s") = 0 exit_group(1) = ? titus@titus-desktop:~/Desktop/C$ ls /opt/toolchain/arm-2009q1/bin/arm-eabi-gcc ls: cannot access /opt/toolchain/arm-2009q1/bin/arm-eabi-gcc: No such file or directory titus@titus-desktop:~/Desktop/C$ ls /opt/toolchain/arm-2009q1/ arm-none-linux-gnueabi/ bin/ lib/ libexec/ share/ titus@titus-desktop:~/Desktop/C$ ls /opt/t^C titus@titus-desktop:~/Desktop/C$ which arm-eabi-gcc /opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc titus@titus-desktop:~/Desktop/C$ titus@titus-desktop:~/Desktop/C$ titus@titus-desktop:~/Desktop/C$ titus@titus-desktop:~/Desktop/C$ titus@titus-desktop:~/Desktop/C$ strace arm-eabi-gcc c-test.c execve("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", ["arm-eabi-gcc", "c-test.c"], [/* 40 vars */]) = 0 brk(0) = 0x8094000 uname({sys="Linux", node="titus-desktop", ...}) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7771000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=95687, ...}) = 0 mmap2(NULL, 95687, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7759000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\226\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1730024, ...}) = 0 mmap2(NULL, 1739484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75b0000 mmap2(0xb7753000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3) = 0xb7753000 mmap2(0xb7756000, 10972, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7756000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75af000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb75af900, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7753000, 8192, PROT_READ) = 0 mprotect(0xb7793000, 4096, PROT_READ) = 0 munmap(0xb7759000, 95687) = 0 brk(0) = 0x8094000 brk(0x80b5000) = 0x80b5000 rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x804f9c0, [INT], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0xb75de288}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGHUP, {0x804f9c0, [HUP], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0xb75de288}, 8) = 0 rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x804f9c0, [TERM], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0xb75de288}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGPIPE, {0x804f9c0, [PIPE], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0xb75de288}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0xb75de288}, {SIG_DFL, [], 0}, 8) = 0 access("/opt/toolchain/arm-2009q1/bin/arm-eabi-gcc", X_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", X_OK) = 0 access("/opt/toolchain/arm-2009q1/bin/arm-eabi-gcc", X_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/", X_OK) = 0 access("/opt/toolchain/arm-2009q1/bin/arm-eabi-gcc", X_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/arm-eabi-gcc", X_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../google/home/android/cupcake_rel_root", F_OK) = -1 ENOENT (No such file or directory) access("c-test.c", F_OK) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/arm-eabi/4.4.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/specs", R_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/lib/arm-eabi/4.4.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/lib/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/local/lib/gcc/arm-eabi/specs", R_OK) = -1 ENOENT (No such file or directory) access("/tmp", R_OK|W_OK|X_OK) = 0 gettimeofday({1398420232, 277817}, NULL) = 0 getpid() = 6176 open("/tmp/cccTU9Vu.s", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 3 close(3) = 0 stat64("/opt/toolchain/arm-eabi-4.4.3-master/bin/../libexec/gcc/arm-eabi/4.4.3/cc1", {st_mode=S_IFREG|0755, st_size=32066615, ...}) = 0 access("/opt/toolchain/arm-eabi-4.4.3-master/bin/../libexec/gcc/arm-eabi/4.4.3/cc1", X_OK) = 0 vfork() = 6177 waitpid(6177, c-test.c:1:19: error: stdio.h: No such file or directory c-test.c:2:20: error: stdlib.h: No such file or directory c-test.c: In function 'main': c-test.c:12: warning: incompatible implicit declaration of built-in function 'printf' [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 6177 --- SIGCHLD (Child exited) @ 0 (0) --- stat64("/tmp/cccTU9Vu.s", {st_mode=S_IFREG|0600, st_size=297, ...}) = 0 unlink("/tmp/cccTU9Vu.s") = 0 exit_group(1) = ? titus@titus-desktop:~/Desktop/C$ titus@titus-desktop:~/Desktop/C$