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: colyli
Subject: Re: [Tinycc-devel] how to run tcc under linux
Date: Sun, 18 Jun 2006 02:17:59 +0800

Juggy:

Thanks for your replying. do you mean before I compile this code with
TCC, I need to compile it with gcc ? I'm confused.

while, in the warning message, I found tcc try to link glibc, how can I
avoid this and let tcc try to link itsown library?

Best regards.

Coly

在 2006-06-17六的 20:12 address@hidden
> 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
> 
> 
> _______________________________________________
> 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]