Le dimanche 11 novembre 2012 19:53:27, Christian Jullien a écrit :

[SNIP]

> 
> 
> I get
> 
> tcc: error: undefined symbol '__aeabi_idiv'
> 
> tcc: error: undefined symbol '__aeabi_idivmod'
> 

[SNIP]

> 
> Changing int to unsigned int results in:
> 
> tcc: error: undefined symbol '__aeabi_uidiv'
> 
> tcc: error: undefined symbol '__aeabi_uidivmod'
> 

> Now the question:
> 
> Is it expected to link with libgcc.a ? What other __aeabi_xxx functions are
> missing?

I don't know but I could look at the source to make a list. I don't have much 
time now though.

> 
> Could we add them in libtcc.a ?

I guess I could write easily suboptimal functions for integer manipulation. If 
some functions are needed for float manipulation it might require me more time 
though.

> 
> 
> 
> If tcc is expected to replace gcc, imho it should not use any gcc specific
> lib.

yes indeed. It should support both modes.

> 
> I've also checked that no .a exist in /usr/lib having those missing
> functions.
> 
> 
> 
> Christian

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to