tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] TCC compile error


From: David A. Wheeler
Subject: Re: [Tinycc-devel] TCC compile error
Date: Sun, 06 May 2007 14:39:00 -0400 (EDT)

Conrado Miranda:
> I tried to compile a simple "Hello world" program, using the lastest
version that I found in mailing-list. Any help?
#include <tcclib.h>
int main() {
printf("Hello World\n");
return 0;
}

Hmm, works fine (compiles and runs) with tinycc-rl-1.0.0 on Fedora Core 6 on an 
x86-32.
After unpacking, and putting that file in ,x.c I just did this:
 ./configure && make
 ./tcc -B. -I. ,x.c
 ./a.out
Which printed "Hello World" as expected.

Here's hoping this "works for me" message helps narrow down the problem.

--- David A. Wheeler

It is the example 1 that comes with tcc, but without the "run" line. With
it, I can run perfectly, but it doesn't compile.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]