View Single Post
Old 05-23-2012, 12:08 PM   #116
deep
Enthusiast
deep began at the beginning.
 
Posts: 29
Karma: 10
Join Date: May 2012
Device: Kindle Touch
Quote:
Originally Posted by knc1 View Post
I need a volunteer here, someone with a Kindle and a copy of the GM-v1.5 tcc installed.

For the source file (use lf line endings please):
Code:
#include <stdio.h>

int main()
    {
        printf("Hello World\n");
        return 0;
    }
Run this command (notice the exactly three "v"s):
Code:
tcc -vvv -run hello.c
Then post the entire output in a reply to this post.
Please capture it all (if using a terminal via ssh, turn on the capture file) the result is much longer than a single screen.

The output of this test will tell us the information needed to best match the compiler's default search paths to the Kindle Touch (hopefully, without changes to the file system or wrapper scripts).

I.E: "hack" is a four letter word.
Hmm, I have GM-tcc v1.5 with lpthread modifications
anyways, I had a short output

Code:
[root@kindle codes]# tcc -vvv -run hello.c
tcc version 0.9.25
-> hello.c
nf /usr/local/include/stdio.h
nf /usr/include/stdio.h
nf /usr/local/lib/tcc/include/stdio.h
hello.c:1: include file 'stdio.h' not found
deep is offline   Reply With Quote