[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] how to run tcc under linux
From: |
colyli |
Subject: |
[Tinycc-devel] how to run tcc under linux |
Date: |
Sat, 17 Jun 2006 23:51:34 +0800 |
hi, friends:
I wrote a simple C code like this:
int
main()
{
int a;
a = 1;
return a;
}
and I try to compile it with tcc by:
tcc -o test test.c
I got the error messages like these:
tcc: file 'AS_NEEDED' not found
/usr/lib/libc.so:3: filename expected
/usr/lib/libc.so:3: unrecognized file type
tcc: undefined symbol '__gcc_personality_v0'
tcc: undefined symbol '_Unwind_Resume'
tcc: undefined symbol '_Unwind_Backtrace'
tcc: undefined symbol '_Unwind_GetIP'
tcc: undefined symbol '_Unwind_GetGR'
tcc: undefined symbol '_Unwind_GetCFA'
So, can any body help me to how to compile this simple code by tcc?
really thank you !
Coly
- [Tinycc-devel] how to run tcc under linux,
colyli <=