tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] how to run tcc under linux


From: juggy
Subject: Re: [Tinycc-devel] how to run tcc under linux
Date: Sat, 17 Jun 2006 20:12:31 +0200
User-agent: KMail/1.9.1

hi there,

works fine here, without any warnings or errors. I'd guess that your 
installation, specifically gcc, is somehow broken. Did you try to compile it 
with gcc -Wall? Maybe that helps you.

Regards and good luck,

Juggy

Am Samstag, 17. Juni 2006 17:51 schrieb colyli:
> 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 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel




reply via email to

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